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