mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-26 00:35:20 +00:00
17 lines
498 B
C#
17 lines
498 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|