Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Land_WarheadStorage_Main Class Reference
Inheritance diagram for Land_WarheadStorage_Main:
House

Protected Member Functions

void Land_WarheadStorage_Main ()
void ~Land_WarheadStorage_Main ()
void AutoCloseDoor (int doorIndex)
override bool CanDoorBeClosed (int doorIndex)
override bool CanDoorBeLocked (int doorIndex)
override bool CanDoorBeOpened (int doorIndex, bool checkIfLocked=false)
override void DeferredInit ()
int GetBunkerEffectIndexByDoor (int doorIndex)
override string GetDebugText ()
int GetDoorIndexByLeverIndex (int LeverIndex)
int GetStorageLightIndexByDoor (int doorIndex)
bool IsBunkerDoor (int doorIndex)
bool IsLowEnergy ()
bool IsStorageDoor (int doorIndex)
override void OnDoorCloseFinish (DoorFinishParams params)
override void OnDoorCloseStart (DoorStartParams params)
override void OnDoorOpenFinish (DoorFinishParams params)
override void OnDoorOpenStart (DoorStartParams params)
void OnPowerOffClient ()
void OnPowerOnClient ()
override void OnSpawnByObjectSpawner (ITEM_SpawnerObject item)
override void OnVariablesSynchronized ()
void RemoveDoorTimer (int doorIndex)
void SetLeverStatesServer (int leverBits)
void SetLowEnergyStateServer (bool state)
void SetPowerServer (bool hasPower)
void UpdateDoorStateClient ()
void UpdateDoorStateServer ()

Protected Attributes

const string ALARM_DOOR_CLOSE_SOUND = "UndergroundDoor_Alarm_End_SoundSet"
const string ALARM_DOOR_OPEN_LOOP_SOUND = "UndergroundDoor_Alarm_Loop_SoundSet"
const string ALARM_DOOR_OPEN_SOUND = "UndergroundDoor_Alarm_Start_SoundSet"
const string ALARM_POS_MEMPOINT = "underground"
const string COLOR_LAMP_OFF = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_int.rvmat"
const string COLOR_LAMP_ON = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_e_int.rvmat"
const float DOOR_AUTOCLOSE_TIME = 12
const string ELECTRICITY_OFF_SOUND = "Bunker_bunker_electricity_off_SoundSet"
const string ELECTRICITY_ON_SOUND = "Bunker_bunker_electricity_on_SoundSet"
const string LAMP_SELECTION = "GlassLamp"
const string LAMPS_SOUND = "Bunker_Lamp_Hum_SoundSet"
ref map< int, ref Timerm_AutoCloseTimers
bool m_HasPower
bool m_HasPowerPrev
bool m_IsLowEnergy
bool m_LeverStatesBits
ref array< EffectSoundm_PoweredSoundEffects = new array<EffectSound>()
EffectSound m_SoundDoorLoop [4]
WarheadStorageLight m_StorageDoorLights [4]
const string MAIN_DOOR_SELECTION1 = "maindoor1_outer"
const string MAIN_DOOR_SELECTION2 = "maindoor2_outer"
const int SOURCES_COUNT = 4
const string VENT_MAIN_POS_MEMPOINT = "Ventilation_main"
const string VENT_POS_MEMPOINT = "Ventilation"
const string VENTILATION_SOUND = "Bunker_Ventilation_SoundSet"
const string WARHEAD_BUNKER_TRIGGER = "UndergroundBunkerTrigger"

Additional Inherited Members

Private Member Functions inherited from House
void ~Land_Buoy ()
override void DeferredInit ()
Private Attributes inherited from House
BuoyLight m_Light

Detailed Description

Definition at line 1 of file land_warheadstorage_main.c.

Constructor & Destructor Documentation

◆ Land_WarheadStorage_Main()

void Land_WarheadStorage_Main ( )
inlineprotected

◆ ~Land_WarheadStorage_Main()

Member Function Documentation

◆ AutoCloseDoor()

void AutoCloseDoor ( int doorIndex)
inlineprotected

Definition at line 266 of file land_warheadstorage_main.c.

References Building::CloseDoor(), and RemoveDoorTimer().

Referenced by DeferredInit().

◆ CanDoorBeClosed()

override bool CanDoorBeClosed ( int doorIndex)
inlineprotected

◆ CanDoorBeLocked()

override bool CanDoorBeLocked ( int doorIndex)
inlineprotected

Definition at line 368 of file land_warheadstorage_main.c.

References IsBunkerDoor(), and IsStorageDoor().

◆ CanDoorBeOpened()

override bool CanDoorBeOpened ( int doorIndex,
bool checkIfLocked = false )
inlineprotected

Definition at line 344 of file land_warheadstorage_main.c.

References Building::IsDoorClosed().

◆ DeferredInit()

override void DeferredInit ( )
inlineprotected

◆ GetBunkerEffectIndexByDoor()

int GetBunkerEffectIndexByDoor ( int doorIndex)
inlineprotected

◆ GetDebugText()

override string GetDebugText ( )
inlineprotected

Definition at line 401 of file land_warheadstorage_main.c.

References g_Game, and Building::IsDoorOpen().

◆ GetDoorIndexByLeverIndex()

int GetDoorIndexByLeverIndex ( int LeverIndex)
inlineprotected

Definition at line 325 of file land_warheadstorage_main.c.

Referenced by UpdateDoorStateClient(), and UpdateDoorStateServer().

◆ GetStorageLightIndexByDoor()

int GetStorageLightIndexByDoor ( int doorIndex)
inlineprotected

Definition at line 320 of file land_warheadstorage_main.c.

Referenced by UpdateDoorStateClient().

◆ IsBunkerDoor()

◆ IsLowEnergy()

bool IsLowEnergy ( )
inlineprotected

Definition at line 96 of file land_warheadstorage_main.c.

References m_IsLowEnergy.

◆ IsStorageDoor()

bool IsStorageDoor ( int doorIndex)
inlineprotected

Definition at line 385 of file land_warheadstorage_main.c.

Referenced by CanDoorBeClosed(), and CanDoorBeLocked().

◆ OnDoorCloseFinish()

◆ OnDoorCloseStart()

override void OnDoorCloseStart ( DoorStartParams params)
inlineprotected

◆ OnDoorOpenFinish()

override void OnDoorOpenFinish ( DoorFinishParams params)
inlineprotected

◆ OnDoorOpenStart()

◆ OnPowerOffClient()

void OnPowerOffClient ( )
inlineprotected

◆ OnPowerOnClient()

◆ OnSpawnByObjectSpawner()

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )
inlineprotected

◆ RemoveDoorTimer()

void RemoveDoorTimer ( int doorIndex)
inlineprotected

Definition at line 214 of file land_warheadstorage_main.c.

References IsBunkerDoor(), and m_AutoCloseTimers.

Referenced by AutoCloseDoor(), and OnDoorCloseStart().

◆ SetLeverStatesServer()

void SetLeverStatesServer ( int leverBits)
inlineprotected

◆ SetLowEnergyStateServer()

void SetLowEnergyStateServer ( bool state)
inlineprotected

Definition at line 90 of file land_warheadstorage_main.c.

References m_IsLowEnergy.

Referenced by PowerGeneratorStatic::SetLowEnergyState().

◆ SetPowerServer()

◆ UpdateDoorStateClient()

void UpdateDoorStateClient ( )
inlineprotected

◆ UpdateDoorStateServer()

void UpdateDoorStateServer ( )
inlineprotected

Field Documentation

◆ ALARM_DOOR_CLOSE_SOUND

const string ALARM_DOOR_CLOSE_SOUND = "UndergroundDoor_Alarm_End_SoundSet"
protected

Definition at line 21 of file land_warheadstorage_main.c.

Referenced by OnDoorCloseFinish().

◆ ALARM_DOOR_OPEN_LOOP_SOUND

const string ALARM_DOOR_OPEN_LOOP_SOUND = "UndergroundDoor_Alarm_Loop_SoundSet"
protected

Definition at line 20 of file land_warheadstorage_main.c.

Referenced by OnDoorCloseStart(), and OnDoorOpenStart().

◆ ALARM_DOOR_OPEN_SOUND

const string ALARM_DOOR_OPEN_SOUND = "UndergroundDoor_Alarm_Start_SoundSet"
protected

Definition at line 19 of file land_warheadstorage_main.c.

Referenced by OnDoorOpenStart().

◆ ALARM_POS_MEMPOINT

const string ALARM_POS_MEMPOINT = "underground"
protected

Definition at line 15 of file land_warheadstorage_main.c.

Referenced by OnDoorCloseFinish(), OnDoorCloseStart(), and OnDoorOpenStart().

◆ COLOR_LAMP_OFF

const string COLOR_LAMP_OFF = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_int.rvmat"
protected

Definition at line 31 of file land_warheadstorage_main.c.

◆ COLOR_LAMP_ON

const string COLOR_LAMP_ON = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_e_int.rvmat"
protected

Definition at line 32 of file land_warheadstorage_main.c.

◆ DOOR_AUTOCLOSE_TIME

const float DOOR_AUTOCLOSE_TIME = 12
protected

Definition at line 10 of file land_warheadstorage_main.c.

Referenced by OnDoorOpenStart().

◆ ELECTRICITY_OFF_SOUND

const string ELECTRICITY_OFF_SOUND = "Bunker_bunker_electricity_off_SoundSet"
protected

Definition at line 25 of file land_warheadstorage_main.c.

Referenced by OnPowerOffClient().

◆ ELECTRICITY_ON_SOUND

const string ELECTRICITY_ON_SOUND = "Bunker_bunker_electricity_on_SoundSet"
protected

Definition at line 24 of file land_warheadstorage_main.c.

Referenced by OnPowerOnClient().

◆ LAMP_SELECTION

const string LAMP_SELECTION = "GlassLamp"
protected

Definition at line 27 of file land_warheadstorage_main.c.

Referenced by UpdateDoorStateClient().

◆ LAMPS_SOUND

const string LAMPS_SOUND = "Bunker_Lamp_Hum_SoundSet"
protected

Definition at line 23 of file land_warheadstorage_main.c.

Referenced by OnPowerOnClient().

◆ m_AutoCloseTimers

ref map<int, ref Timer> m_AutoCloseTimers
protected

Definition at line 8 of file land_warheadstorage_main.c.

Referenced by OnDoorOpenStart(), and RemoveDoorTimer().

◆ m_HasPower

◆ m_HasPowerPrev

bool m_HasPowerPrev
protected

Definition at line 3 of file land_warheadstorage_main.c.

Referenced by OnVariablesSynchronized().

◆ m_IsLowEnergy

bool m_IsLowEnergy
protected

Definition at line 4 of file land_warheadstorage_main.c.

Referenced by IsLowEnergy(), and SetLowEnergyStateServer().

◆ m_LeverStatesBits

bool m_LeverStatesBits
protected

◆ m_PoweredSoundEffects

ref array<EffectSound> m_PoweredSoundEffects = new array<EffectSound>()
protected

Definition at line 7 of file land_warheadstorage_main.c.

Referenced by OnPowerOffClient(), and OnPowerOnClient().

◆ m_SoundDoorLoop

EffectSound m_SoundDoorLoop[4]
protected

◆ m_StorageDoorLights

WarheadStorageLight m_StorageDoorLights[4]
protected

Definition at line 5 of file land_warheadstorage_main.c.

Referenced by ~Land_WarheadStorage_Main(), and UpdateDoorStateClient().

◆ MAIN_DOOR_SELECTION1

const string MAIN_DOOR_SELECTION1 = "maindoor1_outer"
protected

Definition at line 28 of file land_warheadstorage_main.c.

◆ MAIN_DOOR_SELECTION2

const string MAIN_DOOR_SELECTION2 = "maindoor2_outer"
protected

Definition at line 29 of file land_warheadstorage_main.c.

◆ SOURCES_COUNT

const int SOURCES_COUNT = 4
protected

Definition at line 11 of file land_warheadstorage_main.c.

Referenced by OnPowerOnClient().

◆ VENT_MAIN_POS_MEMPOINT

const string VENT_MAIN_POS_MEMPOINT = "Ventilation_main"
protected

Definition at line 16 of file land_warheadstorage_main.c.

Referenced by OnPowerOffClient(), and OnPowerOnClient().

◆ VENT_POS_MEMPOINT

const string VENT_POS_MEMPOINT = "Ventilation"
protected

Definition at line 17 of file land_warheadstorage_main.c.

Referenced by OnPowerOnClient().

◆ VENTILATION_SOUND

const string VENTILATION_SOUND = "Bunker_Ventilation_SoundSet"
protected

Definition at line 22 of file land_warheadstorage_main.c.

Referenced by OnPowerOnClient().

◆ WARHEAD_BUNKER_TRIGGER

const string WARHEAD_BUNKER_TRIGGER = "UndergroundBunkerTrigger"
protected

Definition at line 13 of file land_warheadstorage_main.c.


The documentation for this class was generated from the following file: