2021-12-23 17:07:29 -08:00
|
|
|
|
using QSB.WorldSync;
|
2021-12-20 11:48:50 +00:00
|
|
|
|
|
|
|
|
|
namespace QSB.ConversationSync.WorldObjects
|
|
|
|
|
{
|
|
|
|
|
internal class QSBRemoteDialogueTrigger : WorldObject<RemoteDialogueTrigger>
|
|
|
|
|
{
|
2022-01-25 21:08:04 -08:00
|
|
|
|
public override void SendResyncInfo(uint to)
|
|
|
|
|
{
|
2022-01-25 21:32:43 -08:00
|
|
|
|
// todo SendResyncInfo
|
2022-01-25 21:08:04 -08:00
|
|
|
|
}
|
|
|
|
|
|
2021-12-20 11:48:50 +00:00
|
|
|
|
public void RemoteEnterDialogue(int activatedIndex, int listIndex)
|
|
|
|
|
{
|
|
|
|
|
var dialogueCondition = AttachedObject._listDialogues[listIndex];
|
|
|
|
|
AttachedObject._activeRemoteDialogue = dialogueCondition.dialogue;
|
|
|
|
|
AttachedObject._inRemoteDialogue = true;
|
|
|
|
|
AttachedObject._activatedDialogues[activatedIndex] = true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|