2022-01-27 05:00:12 +00:00
|
|
|
|
using QSB.ConversationSync.WorldObjects;
|
2021-12-24 06:59:53 +00:00
|
|
|
|
using QSB.Messaging;
|
2021-12-20 11:48:50 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
namespace QSB.ConversationSync.Messages;
|
|
|
|
|
|
|
|
|
|
internal class EnterRemoteDialogueMessage : QSBWorldObjectMessage<QSBRemoteDialogueTrigger, int>
|
2021-12-20 11:48:50 +00:00
|
|
|
|
{
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public EnterRemoteDialogueMessage(int dialogueIndex)
|
|
|
|
|
=> Data = dialogueIndex;
|
2021-12-24 06:59:53 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public override void OnReceiveRemote()
|
|
|
|
|
=> WorldObject.RemoteEnterDialogue(Data);
|
2021-12-20 11:48:50 +00:00
|
|
|
|
}
|