21 lines
831 B
C#
Raw Normal View History

2022-01-12 19:18:59 -08:00
using QSB.TriggerSync.WorldObjects;
using QSB.WorldSync;
2022-01-12 17:02:21 -08:00
namespace QSB.TriggerSync
{
public class TriggerManager : WorldObjectManager
{
public override WorldObjectType WorldObjectType => WorldObjectType.Both;
protected override void RebuildWorldObjects(OWScene scene)
{
2022-01-12 19:12:37 -08:00
QSBWorldSync.Init<QSBCharacterTrigger, CharacterAnimController>(x => x.playerTrackingZone);
QSBWorldSync.Init<QSBSolanumTrigger, NomaiConversationManager>(x => x._watchPlayerVolume);
2022-01-12 19:43:48 -08:00
QSBWorldSync.Init<QSBShrineTrigger, QuantumShrine>(x => x._triggerVolume);
2022-01-12 21:28:35 -08:00
QSBWorldSync.Init<QSBVesselCageTrigger, VesselWarpController>(x => x._cageTrigger);
2022-01-12 19:43:48 -08:00
QSBWorldSync.Init<QSBInflationTrigger, CosmicInflationController>(x => x._smokeSphereTrigger);
2022-01-12 21:28:35 -08:00
QSBWorldSync.Init<QSBMaskZoneTrigger, MaskZoneController>(x => x._maskZoneTrigger);
2022-01-12 17:02:21 -08:00
}
}
}