quantum-space-buddies/QSB/ConversationSync/WorldObjects/QSBRemoteDialogueTrigger.cs

21 lines
546 B
C#

using QSB.WorldSync;
namespace QSB.ConversationSync.WorldObjects
{
internal class QSBRemoteDialogueTrigger : WorldObject<RemoteDialogueTrigger>
{
public override void SendResyncInfo(uint to)
{
// todo
}
public void RemoteEnterDialogue(int activatedIndex, int listIndex)
{
var dialogueCondition = AttachedObject._listDialogues[listIndex];
AttachedObject._activeRemoteDialogue = dialogueCondition.dialogue;
AttachedObject._inRemoteDialogue = true;
AttachedObject._activatedDialogues[activatedIndex] = true;
}
}
}