mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
22 lines
549 B
C#
22 lines
549 B
C#
using QSB.WorldSync;
|
|
|
|
namespace QSB.ConversationSync.WorldObjects
|
|
{
|
|
internal class QSBRemoteDialogueTrigger : WorldObject<RemoteDialogueTrigger>
|
|
{
|
|
public override void SendResyncInfo(uint to)
|
|
{
|
|
// todo SendResyncInfo
|
|
}
|
|
|
|
public void RemoteEnterDialogue(int dialogueIndex)
|
|
{
|
|
var dialogueCondition = AttachedObject._listDialogues[dialogueIndex];
|
|
AttachedObject._activeRemoteDialogue = dialogueCondition.dialogue;
|
|
AttachedObject._inRemoteDialogue = true;
|
|
|
|
AttachedObject._activatedDialogues[dialogueIndex] = true;
|
|
}
|
|
}
|
|
}
|