17 lines
498 B
C#
Raw Normal View History

2021-12-20 11:48:50 +00:00
using QSB.Utility;
using QSB.WorldSync;
namespace QSB.ConversationSync.WorldObjects
{
internal class QSBRemoteDialogueTrigger : WorldObject<RemoteDialogueTrigger>
{
public void RemoteEnterDialogue(int activatedIndex, int listIndex)
{
var dialogueCondition = AttachedObject._listDialogues[listIndex];
AttachedObject._activeRemoteDialogue = dialogueCondition.dialogue;
AttachedObject._inRemoteDialogue = true;
AttachedObject._activatedDialogues[activatedIndex] = true;
}
}
}