DayZ 1.24
|
Go to the source code of this file.
Enumerations | |
enum | ELEDState { OFF , BLINKING , ON } |
Variables | |
enum ELEDState | RED |
enum ELEDState | GREEN |
enum ELEDState | m_Entrances |
static ref set< Land_Underground_Panel > | m_Panels |
Land_Underground_EntranceBase | m_LinkedDoor |
const string | COLOR_LED_OFF = "#(argb,8,8,3)color(0,0,0,1.0,co)" |
const string | COLOR_LED_GREEN = "#(argb,8,8,3)color(0,1,0,1.0,co)" |
const string | COLOR_LED_RED = "#(argb,8,8,3)color(1,0,0,1.0,co)" |
const string | SELECTION_NAME_LED_RED = "LED_Red" |
const string | SELECTION_NAME_LED_GREEN = "LED_Green" |
bool m_PanelWasUsed bool | m_PanelWasUsedPrev |
bool | m_BlinkingFlipFlop |
ref Timer | m_FlipFlopTimer |
EffectSound | m_ActivationSound |
ELEDState | m_LedStateRed |
ELEDState | m_LedStateGreen |
Enumerator | |
---|---|
OFF | |
BLINKING | |
ON |
Definition at line 1 of file Land_Underground_Panel.c.
bool CanInteract | ( | ) |
Definition at line 51 of file Land_Underground_Panel.c.
References Land_Underground_EntranceBase::CanManipulate(), and GetLinkedDoor().
Land_Underground_EntranceBase GetClosestDoor | ( | ) |
Definition at line 124 of file Land_Underground_Panel.c.
References vector::DistanceSq(), GetPosition, and m_Entrances.
Referenced by GetLinkedDoor().
Land_Underground_EntranceBase GetLinkedDoor | ( | ) |
Definition at line 117 of file Land_Underground_Panel.c.
References GetClosestDoor(), and m_LinkedDoor.
Referenced by CanInteract(), GetLinkedDoorType(), Interact(), and Land_Underground_Panel_Lever::Interact().
EUndegroundDoorType GetLinkedDoorType | ( | ) |
Definition at line 112 of file Land_Underground_Panel.c.
References GetLinkedDoor(), and Land_Underground_EntranceBase::m_DoorType.
Referenced by OnDoorStateChangedClient().
void Interact | ( | ) |
Definition at line 59 of file Land_Underground_Panel.c.
References CALL_CATEGORY_SYSTEM, ErrorEx, GetGame(), GetLinkedDoor(), Land_Underground_EntranceBase::Manipulate(), and ResetPanelUsed().
void Land_Underground_Panel | ( | ) |
Definition at line 38 of file Land_Underground_Panel.c.
References RegisterPanel(), and SetLEDState().
void OnDoorStateChangedClient | ( | EUndegroundEntranceState | newState, |
EUndegroundEntranceState | prevState ) |
Definition at line 230 of file Land_Underground_Panel.c.
References GetLinkedDoorType(), and SetLEDState().
void OnLEDStateChanged | ( | ) |
Definition at line 185 of file Land_Underground_Panel.c.
References COLOR_LED_GREEN, COLOR_LED_OFF, COLOR_LED_RED, m_BlinkingFlipFlop, m_LedStateGreen, m_LedStateRed, SELECTION_NAME_LED_GREEN, SELECTION_NAME_LED_RED, SetBlinkingTimer(), and UpdateLED().
Referenced by Land_Underground_Panel_Lever::OnPanelUsedSynchronized(), SetLEDState(), and ToggleFlipFlop().
|
protected |
Definition at line 292 of file Land_Underground_Panel.c.
References m_ActivationSound.
Referenced by OnVariablesSynchronized().
Definition at line 297 of file Land_Underground_Panel.c.
References m_PanelWasUsedPrev, and OnPanelUsedSynchronized().
|
static |
|
static |
Definition at line 93 of file Land_Underground_Panel.c.
References m_Panels.
Referenced by Land_Underground_Panel().
void ResetPanelUsed | ( | ) |
Definition at line 224 of file Land_Underground_Panel.c.
Referenced by Interact().
Definition at line 168 of file Land_Underground_Panel.c.
References m_FlipFlopTimer.
Referenced by OnLEDStateChanged().
void SetLEDState | ( | ELEDColors | color, |
ELEDState | state ) |
Definition at line 146 of file Land_Underground_Panel.c.
References m_LedStateGreen, m_LedStateRed, and OnLEDStateChanged().
Referenced by Land_Underground_Panel(), and OnDoorStateChangedClient().
|
protected |
Definition at line 286 of file Land_Underground_Panel.c.
References m_BlinkingFlipFlop, and OnLEDStateChanged().
|
static |
Definition at line 81 of file Land_Underground_Panel.c.
References ErrorEx, and m_Entrances.
|
static |
Definition at line 100 of file Land_Underground_Panel.c.
References ErrorEx, and m_Panels.
Referenced by ~Land_Underground_Panel().
Definition at line 279 of file Land_Underground_Panel.c.
Referenced by EEKilled(), OnCEUpdate(), OnLEDStateChanged(), and OnWasDetached().
Definition at line 46 of file Land_Underground_Panel.c.
References UnregisterPanel().
Definition at line 22 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged().
Definition at line 21 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged(), and UpdateLED().
Definition at line 23 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged().
EffectSound m_ActivationSound |
Definition at line 33 of file Land_Underground_Panel.c.
Referenced by OnPanelUsedSynchronized().
bool m_BlinkingFlipFlop |
Definition at line 30 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged(), and ToggleFlipFlop().
Referenced by GetClosestDoor(), RegisterEntrance(), and UnregisterEntrance().
Definition at line 31 of file Land_Underground_Panel.c.
Referenced by SetBlinkingTimer().
ELEDState m_LedStateGreen |
Definition at line 36 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged(), and SetLEDState().
ELEDState m_LedStateRed |
Definition at line 35 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged(), and SetLEDState().
Land_Underground_EntranceBase m_LinkedDoor |
Definition at line 19 of file Land_Underground_Panel.c.
Referenced by GetLinkedDoor().
|
static |
Definition at line 17 of file Land_Underground_Panel.c.
Referenced by Init(), PanelHide(), PanelShow(), RegisterPanel(), UnregisterPanel(), and Update().
bool m_PanelWasUsed bool m_PanelWasUsedPrev |
Definition at line 29 of file Land_Underground_Panel.c.
Referenced by OnVariablesSynchronized().
Definition at line 26 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged().
Definition at line 25 of file Land_Underground_Panel.c.
Referenced by OnLEDStateChanged().