class Land_WarheadStorage_MainSource
Land_WarheadStorage_Main › House › BuildingBase › Building › EntityAI › Entity › ObjectTyped › Object › IEntity › Managed
All members, including inherited
Constructors 2
void Land_WarheadStorage_Main()void ~Land_WarheadStorage_Main()Constants 18
protected const float DOOR_AUTOCLOSE_TIME = 12how long before the outer door auto-close after being opened
Referenced by OnDoorOpenStart()
protected const int SOURCES_COUNT = 4storage lights, side vents, lamps
Referenced by OnPowerOnClient()
protected const string WARHEAD_BUNKER_TRIGGER = "UndergroundBunkerTrigger"protected const string ALARM_POS_MEMPOINT = "underground"protected const string VENT_MAIN_POS_MEMPOINT = "Ventilation_main"protected const string VENT_POS_MEMPOINT = "Ventilation"Referenced by OnPowerOnClient()
protected const string ALARM_DOOR_OPEN_SOUND = "UndergroundDoor_Alarm_Start_SoundSet"Referenced by OnDoorOpenStart()
protected const string ALARM_DOOR_OPEN_LOOP_SOUND = "UndergroundDoor_Alarm_Loop_SoundSet"protected const string ALARM_DOOR_CLOSE_SOUND = "UndergroundDoor_Alarm_End_SoundSet"Referenced by OnDoorCloseFinish()
protected const string VENTILATION_SOUND = "Bunker_Ventilation_SoundSet"Referenced by OnPowerOnClient()
protected const string LAMPS_SOUND = "Bunker_Lamp_Hum_SoundSet"Referenced by OnPowerOnClient()
protected const string ELECTRICITY_ON_SOUND = "Bunker_bunker_electricity_on_SoundSet"Referenced by OnPowerOnClient()
protected const string ELECTRICITY_OFF_SOUND = "Bunker_bunker_electricity_off_SoundSet"Referenced by OnPowerOffClient()
protected const string LAMP_SELECTION = "GlassLamp"Referenced by UpdateDoorStateClient()
protected const string MAIN_DOOR_SELECTION1 = "maindoor1_outer"protected const string MAIN_DOOR_SELECTION2 = "maindoor2_outer"protected const string COLOR_LAMP_OFF = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_int.rvmat"protected const string COLOR_LAMP_ON = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_e_int.rvmat"Members 8
protected bool m_HasPowerPrevReferenced by OnVariablesSynchronized()
protected bool m_IsLowEnergyprotected WarheadStorageLight m_StorageDoorLights[4]protected EffectSound m_SoundDoorLoop[4]Referenced by OnDoorCloseFinish(), OnDoorCloseStart(), OnDoorOpenFinish()
Show 1 more
, OnDoorOpenStart()protected ref array<EffectSound> m_PoweredSoundEffects = new array<EffectSound>()protected bool m_HasPowerReferenced by OnVariablesSynchronized(), SetPowerServer(), UpdateDoorStateClient()
Show 1 more
, UpdateDoorStateServer()protected bool m_LeverStatesBitsMethods 26
override void DeferredInit()void SetPowerServer(bool hasPower)void SetLeverStatesServer(int leverBits)void SetLowEnergyStateServer(bool state)Referenced by PowerGeneratorStatic.SetLowEnergyState()
protected void OnPowerOnClient()Referenced by OnVariablesSynchronized()
protected void OnPowerOffClient()References array.Clear(), Object.PlaySoundSetAtMemoryPoint(), EffectSound.SetAutodestroy()
Show 4 more
, EffectSound.Stop(), ELECTRICITY_OFF_SOUND, m_PoweredSoundEffects, and VENT_MAIN_POS_MEMPOINTReferenced by OnVariablesSynchronized()
override void OnDoorOpenStart(DoorStartParams params)override void OnDoorOpenFinish(DoorFinishParams params)References GetBunkerEffectIndexByDoor(), IsBunkerDoor(), EffectSound.IsPlaying()
Show 3 more
, Object.StopSoundSet(), m_SoundDoorLoop, and Param2.param1override void OnSpawnByObjectSpawner(ITEM_SpawnerObject item)protected void RemoveDoorTimer(int doorIndex)override void OnDoorCloseStart(DoorStartParams params)override void OnDoorCloseFinish(DoorFinishParams params)void AutoCloseDoor(int doorIndex)Referenced by DeferredInit()
void UpdateDoorStateServer()References Building.CloseDoor(), GetDoorIndexByLeverIndex(), Building.IsDoorOpen()
Show 3 more
, Building.OpenDoor(), m_HasPower, and m_LeverStatesBitsvoid UpdateDoorStateClient()References Class.Cast(), ScriptedLightBase.CreateLightAtObjMemoryPoint(), ScriptedLightBase.Destroy()
Show 12 more
, GetDoorIndexByLeverIndex(), EntityAI.GetHiddenSelectionIndex(), GetStorageLightIndexByDoor(), ScriptedLightBase.SetSelectionID(), Class.ToString(), ScriptedLightBase.UpdateLightSourceMaterial(), LAMP_SELECTION, WarheadStorageLight.LIGHT_MAT_OFF, WarheadStorageLight.LIGHT_MAT_ON, m_HasPower, m_LeverStatesBits, and m_StorageDoorLightsReferenced by OnVariablesSynchronized()
Referenced by UpdateDoorStateClient()
Referenced by OnDoorCloseFinish(), OnDoorCloseStart(), OnDoorOpenFinish()
Show 1 more
, OnDoorOpenStart()Referenced by CanDoorBeClosed(), CanDoorBeLocked(), DeferredInit()
Show 5 more
, OnDoorCloseFinish(), OnDoorCloseStart(), OnDoorOpenFinish(), OnDoorOpenStart(), and RemoveDoorTimer()References Building.CanDoorBeClosed(), IsBunkerDoor(), Building.IsDoorOpen()
Show 2 more
, Building.IsDoorOpening(), and IsStorageDoor()override string GetDebugText()override void OnVariablesSynchronized()References OnPowerOffClient(), OnPowerOnClient(), EntityAI.OnVariablesSynchronized()