Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
land_underground_panel.c File Reference

Go to the source code of this file.

Enumerations

enum  ELEDState { OFF, BLINKING, ON }
 

Functions

void Land_Underground_Panel ()
 
void ~Land_Underground_Panel ()
 
bool CanInteract ()
 
void Interact ()
 
EUndegroundDoorType GetLinkedDoorType ()
 
Land_Underground_EntranceBase GetLinkedDoor ()
 
Land_Underground_EntranceBase GetClosestDoor ()
 
void SetLEDState (ELEDColors color, ELEDState state)
 
void SetBlinkingTimer (bool enable)
 
void OnLEDStateChanged ()
 
void ResetPanelUsed ()
 
void OnDoorStateChangedClient (EUndegroundEntranceState newState, EUndegroundEntranceState prevState)
 
protected void UpdateLED (string selection, string color)
 
void ToggleFlipFlop ()
 
void OnPanelUsedSynchronized ()
 
override void OnVariablesSynchronized ()
 

Variables

enum ELEDState RED
 
enum ELEDState GREEN
 
enum ELEDState m_Entrances
 
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
 

Enumeration Type Documentation

◆ ELEDState

enum ELEDState
Enumerator
OFF 
BLINKING 
ON 

Definition at line 1 of file land_underground_panel.c.

Function Documentation

◆ CanInteract()

bool CanInteract ( )

Definition at line 51 of file land_underground_panel.c.

◆ GetClosestDoor()

Land_Underground_EntranceBase GetClosestDoor ( )

Definition at line 140 of file land_underground_panel.c.

◆ GetLinkedDoor()

Land_Underground_EntranceBase GetLinkedDoor ( )

Definition at line 133 of file land_underground_panel.c.

◆ GetLinkedDoorType()

EUndegroundDoorType GetLinkedDoorType ( )

Definition at line 128 of file land_underground_panel.c.

◆ Interact()

void Interact ( )

Definition at line 61 of file land_underground_panel.c.

◆ Land_Underground_Panel()

void Land_Underground_Panel ( )

Definition at line 38 of file land_underground_panel.c.

◆ OnDoorStateChangedClient()

void OnDoorStateChangedClient ( EUndegroundEntranceState  newState,
EUndegroundEntranceState  prevState 
)

Definition at line 270 of file land_underground_panel.c.

◆ OnLEDStateChanged()

void OnLEDStateChanged ( )

Definition at line 205 of file land_underground_panel.c.

◆ OnPanelUsedSynchronized()

void OnPanelUsedSynchronized ( )

Definition at line 344 of file land_underground_panel.c.

◆ OnVariablesSynchronized()

override void OnVariablesSynchronized ( )

Definition at line 349 of file land_underground_panel.c.

◆ ResetPanelUsed()

void ResetPanelUsed ( )

Definition at line 264 of file land_underground_panel.c.

◆ SetBlinkingTimer()

void SetBlinkingTimer ( bool  enable)

Definition at line 186 of file land_underground_panel.c.

◆ SetLEDState()

void SetLEDState ( ELEDColors  color,
ELEDState  state 
)

Definition at line 164 of file land_underground_panel.c.

◆ ToggleFlipFlop()

void ToggleFlipFlop ( )

Definition at line 338 of file land_underground_panel.c.

◆ UpdateLED()

protected void UpdateLED ( string  selection,
string  color 
)

Definition at line 331 of file land_underground_panel.c.

◆ ~Land_Underground_Panel()

Definition at line 46 of file land_underground_panel.c.

Variable Documentation

◆ COLOR_LED_GREEN

const string COLOR_LED_GREEN = "#(argb,8,8,3)color(0,1,0,1.0,co)"

Definition at line 22 of file land_underground_panel.c.

◆ COLOR_LED_OFF

const string COLOR_LED_OFF = "#(argb,8,8,3)color(0,0,0,1.0,co)"

Definition at line 21 of file land_underground_panel.c.

◆ COLOR_LED_RED

const string COLOR_LED_RED = "#(argb,8,8,3)color(1,0,0,1.0,co)"

Definition at line 23 of file land_underground_panel.c.

◆ GREEN

enum ELEDState GREEN

◆ m_ActivationSound

EffectSound m_ActivationSound

Definition at line 33 of file land_underground_panel.c.

◆ m_BlinkingFlipFlop

bool m_BlinkingFlipFlop

Definition at line 30 of file land_underground_panel.c.

◆ m_Entrances

enum ELEDState m_Entrances

◆ m_FlipFlopTimer

ref Timer m_FlipFlopTimer

Definition at line 31 of file land_underground_panel.c.

◆ m_LedStateGreen

ELEDState m_LedStateGreen

Definition at line 36 of file land_underground_panel.c.

◆ m_LedStateRed

ELEDState m_LedStateRed

Definition at line 35 of file land_underground_panel.c.

◆ m_LinkedDoor

Definition at line 19 of file land_underground_panel.c.

◆ m_PanelWasUsedPrev

bool m_PanelWasUsed bool m_PanelWasUsedPrev

Definition at line 29 of file land_underground_panel.c.

◆ RED

enum ELEDState RED

◆ SELECTION_NAME_LED_GREEN

const string SELECTION_NAME_LED_GREEN = "LED_Green"

Definition at line 26 of file land_underground_panel.c.

◆ SELECTION_NAME_LED_RED

const string SELECTION_NAME_LED_RED = "LED_Red"

Definition at line 25 of file land_underground_panel.c.