9 g_Game.RegisterNetworkStaticObject(
this);
13 for (
int i = 0; i < GetDoorCount(); ++i)
22 if (!super.CanDoorBeOpened(doorIndex, checkIfLocked))
28 return IsDoorClosed(8);
30 return IsDoorClosed(7);
39 return IsDoorOpen(doorIndex) && !IsDoorOpening(doorIndex);
41 return super.CanDoorBeClosed(doorIndex);
64 super.OnSpawnByObjectSpawner(item);
72 foreach (
int index,
auto triggerData : jsonData.
Triggers)
74 if (triggerData.CustomSpawn)
80 foreach (
string entry : customStringData)
83 entry.Split(
"=", optionValuePair);
84 if (optionValuePair[0] ==
"undergroundTriggerTag")
86 if (optionValuePair[1] == triggerData.Tag)
Param1< int > DoorStartParams
static void SpawnParentedTriggers(EntityAI parent)
ref array< ref JsonUndergroundAreaTriggerData > Triggers
static void SpawnTriggerCarrier(EntityAI parent, int index, JsonUndergroundAreaTriggerData data)
void RemoveDoorTimer(int doorIndex)
void AutoCloseDoor(int doorIndex)
const float DOOR_AUTOCLOSE_TIME
override void OnSpawnByObjectSpawner(ITEM_SpawnerObject item)
override bool CanDoorBeClosed(int doorIndex)
bool IsPressureDoor(int doorIndex)
override void OnDoorOpenStart(DoorStartParams params)
override bool CanDoorBeOpened(int doorIndex, bool checkIfLocked=false)
ref map< int, ref Timer > m_AutoCloseTimers
override void DeferredInit()
override void OnDoorCloseStart(DoorStartParams params)
static JsonUndergroundTriggers GetData()
class array< Class T > TStringArray
void Split(string sample, out array< string > output)
Splits string into array of strings separated by 'sample'.
static const string Empty