mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
13 lines
374 B
C#
13 lines
374 B
C#
using QSB.ConversationSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.ConversationSync.Messages;
|
|
|
|
internal class EnterRemoteDialogueMessage : QSBWorldObjectMessage<QSBRemoteDialogueTrigger, int>
|
|
{
|
|
public EnterRemoteDialogueMessage(int dialogueIndex)
|
|
=> Data = dialogueIndex;
|
|
|
|
public override void OnReceiveRemote()
|
|
=> WorldObject.RemoteEnterDialogue(Data);
|
|
} |