2022-01-28 20:49:07 -08:00
|
|
|
|
using Cysharp.Threading.Tasks;
|
|
|
|
|
using QSB.Animation.NPC.WorldObjects;
|
2021-04-29 18:30:45 +01:00
|
|
|
|
using QSB.WorldSync;
|
2022-01-28 20:49:07 -08:00
|
|
|
|
using System.Threading;
|
2021-04-29 18:30:45 +01:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
namespace QSB.Animation.NPC;
|
|
|
|
|
|
|
|
|
|
internal class CharacterAnimManager : WorldObjectManager
|
2021-04-29 18:30:45 +01:00
|
|
|
|
{
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
2022-02-27 04:40:44 -08:00
|
|
|
|
|
2022-03-02 19:46:33 -08:00
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
|
|
|
{
|
|
|
|
|
QSBWorldSync.Init<QSBCharacterAnimController, CharacterAnimController>();
|
|
|
|
|
QSBWorldSync.Init<QSBTravelerController, TravelerController>();
|
|
|
|
|
QSBWorldSync.Init<QSBSolanumController, NomaiConversationManager>();
|
|
|
|
|
QSBWorldSync.Init<QSBSolanumAnimController, SolanumAnimController>();
|
|
|
|
|
QSBWorldSync.Init<QSBHearthianRecorderEffects, HearthianRecorderEffects>();
|
|
|
|
|
QSBWorldSync.Init<QSBTravelerEyeController, TravelerEyeController>();
|
2021-04-29 18:30:45 +01:00
|
|
|
|
}
|
2022-02-24 22:04:54 -08:00
|
|
|
|
}
|