Merge pull request #388 from misternebula/recorders

add hearthian recorder sync
This commit is contained in:
_nebula 2021-12-03 23:36:30 +00:00 committed by GitHub
commit 3548045fb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -12,6 +12,7 @@ namespace QSB.Animation.NPC
QSBWorldSync.Init<QSBTravelerController, TravelerController>();
QSBWorldSync.Init<QSBSolanumController, NomaiConversationManager>();
QSBWorldSync.Init<QSBSolanumAnimController, SolanumAnimController>();
QSBWorldSync.Init<QSBHearthianRecorderEffects, HearthianRecorderEffects>();
//MOVE : this is the wrong place to put this... move it to Conversations?
QSBWorldSync.OldDialogueTrees.Clear();

View File

@ -0,0 +1,11 @@
namespace QSB.Animation.NPC.WorldObjects
{
internal class QSBHearthianRecorderEffects : NpcAnimController<HearthianRecorderEffects>
{
public override bool InConversation()
=> AttachedObject._characterDialogueTree.InConversation();
public override CharacterDialogueTree GetDialogueTree()
=> AttachedObject._characterDialogueTree;
}
}