quantum-space-buddies/QSB/ConversationSync/Messages/EnterRemoteDialogueMessage.cs
2023-07-28 19:30:57 +01:00

12 lines
371 B
C#

using QSB.ConversationSync.WorldObjects;
using QSB.Messaging;
namespace QSB.ConversationSync.Messages;
public class EnterRemoteDialogueMessage : QSBWorldObjectMessage<QSBRemoteDialogueTrigger, int>
{
public EnterRemoteDialogueMessage(int dialogueIndex) : base(dialogueIndex) { }
public override void OnReceiveRemote()
=> WorldObject.RemoteEnterDialogue(Data);
}