quantum-space-buddies/QSB/TriggerSync/TriggerManager.cs

19 lines
655 B
C#
Raw Normal View History

2022-01-13 03:18:59 +00:00
using QSB.TriggerSync.WorldObjects;
using QSB.WorldSync;
2022-01-13 01:02:21 +00:00
namespace QSB.TriggerSync
{
public class TriggerManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
protected override void RebuildWorldObjects(OWScene scene)
{
2022-01-13 03:12:37 +00:00
QSBWorldSync.Init<QSBCharacterTrigger, CharacterAnimController>(x => x.playerTrackingZone);
QSBWorldSync.Init<QSBSolanumTrigger, NomaiConversationManager>(x => x._watchPlayerVolume);
QSBWorldSync.Init<QSBVesselCageTrigger, VesselWarpController>(x => x._cageTrigger);
QSBWorldSync.Init<QSBMaskZoneTrigger, MaskZoneController>(x => x._maskZoneTrigger);
2022-01-13 01:02:21 +00:00
}
}
}