Enumerations | |
enum | ELEDState { OFF , BLINKING , ON } |
Functions | |
void | Land_Underground_Panel () |
void | ~Land_Underground_Panel () |
bool | CanInteract () |
void | Interact () |
static void | RegisterEntrance (Land_Underground_EntranceBase entrance) |
static void | UnregisterEntrance (Land_Underground_EntranceBase entrance) |
static void | RegisterPanel (Land_Underground_Panel panel) |
static void | UnregisterPanel (Land_Underground_Panel panel) |
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 |
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 |
enum ELEDState |
bool CanInteract | ( | ) |
References Land_Underground_EntranceBase::CanManipulate(), and GetLinkedDoor().
Land_Underground_EntranceBase GetClosestDoor | ( | ) |
References vector::DistanceSq(), GetPosition, and m_Entrances.
Referenced by GetLinkedDoor().
Land_Underground_EntranceBase GetLinkedDoor | ( | ) |
References GetClosestDoor(), and m_LinkedDoor.
Referenced by CanInteract(), GetLinkedDoorType(), Interact(), and Land_Underground_Panel_Lever::Interact().
EUndegroundDoorType GetLinkedDoorType | ( | ) |
References GetLinkedDoor(), and Land_Underground_EntranceBase::m_DoorType.
Referenced by OnDoorStateChangedClient().
void Interact | ( | ) |
void Land_Underground_Panel | ( | ) |
References RegisterPanel(), and SetLEDState().
Referenced by ActionUseUndergroundLever::ActionCondition(), ActionUseUndergroundPanel::ActionCondition(), Land_Underground_EntranceBase::GetConnectedPanels(), Land_Underground_EntranceBase::Land_Underground_EntranceBase(), Land_Underground_EntranceBase::OnDoorStateChangedClient(), ActionUseUndergroundLever::OnStartServer(), ActionUseUndergroundPanel::OnStartServer(), and Land_Underground_EntranceBase::~Land_Underground_EntranceBase().
void OnDoorStateChangedClient | ( | EUndegroundEntranceState | newState, |
EUndegroundEntranceState | prevState | ||
) |
References GetLinkedDoorType(), and SetLEDState().
void OnLEDStateChanged | ( | ) |
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().
void OnPanelUsedSynchronized | ( | ) |
References m_ActivationSound.
Referenced by OnVariablesSynchronized().
override void OnVariablesSynchronized | ( | ) |
References m_PanelWasUsedPrev, and OnPanelUsedSynchronized().
|
static |
References m_Entrances.
|
static |
References m_Panels.
Referenced by Land_Underground_Panel().
void ResetPanelUsed | ( | ) |
Referenced by Interact().
void SetBlinkingTimer | ( | bool | enable | ) |
References m_FlipFlopTimer.
Referenced by OnLEDStateChanged().
void SetLEDState | ( | ELEDColors | color, |
ELEDState | state | ||
) |
References m_LedStateGreen, m_LedStateRed, and OnLEDStateChanged().
Referenced by Land_Underground_Panel(), and OnDoorStateChangedClient().
void ToggleFlipFlop | ( | ) |
References m_BlinkingFlipFlop, and OnLEDStateChanged().
|
static |
References ErrorEx, and m_Entrances.
|
static |
References ErrorEx, and m_Panels.
Referenced by ~Land_Underground_Panel().
Referenced by EEKilled(), OnCEUpdate(), OnLEDStateChanged(), and OnWasDetached().
void ~Land_Underground_Panel | ( | ) |
References UnregisterPanel().
const string COLOR_LED_GREEN = "#(argb,8,8,3)color(0,1,0,1.0,co)" |
Referenced by OnLEDStateChanged().
const string COLOR_LED_OFF = "#(argb,8,8,3)color(0,0,0,1.0,co)" |
Referenced by OnLEDStateChanged(), and UpdateLED().
const string COLOR_LED_RED = "#(argb,8,8,3)color(1,0,0,1.0,co)" |
Referenced by OnLEDStateChanged().
enum ELEDState GREEN |
EffectSound m_ActivationSound |
Referenced by OnPanelUsedSynchronized().
bool m_BlinkingFlipFlop |
Referenced by OnLEDStateChanged(), and ToggleFlipFlop().
enum ELEDState m_Entrances |
Referenced by GetClosestDoor(), RegisterEntrance(), and UnregisterEntrance().
ref Timer m_FlipFlopTimer |
Referenced by SetBlinkingTimer().
ELEDState m_LedStateGreen |
Referenced by OnLEDStateChanged(), and SetLEDState().
ELEDState m_LedStateRed |
Referenced by OnLEDStateChanged(), and SetLEDState().
Land_Underground_EntranceBase m_LinkedDoor |
Referenced by GetLinkedDoor().
|
static |
Referenced by Init(), PanelHide(), PanelShow(), RegisterPanel(), UnregisterPanel(), and Update().
Referenced by OnVariablesSynchronized().
enum ELEDState RED |
const string SELECTION_NAME_LED_GREEN = "LED_Green" |
Referenced by OnLEDStateChanged().
const string SELECTION_NAME_LED_RED = "LED_Red" |
Referenced by OnLEDStateChanged().