|
Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
|
Go to the documentation of this file.
16 static ref set<Land_Underground_EntranceBase>
m_Entrances;
17 static ref set<Land_Underground_Panel>
m_Panels;
40 RegisterNetSyncVariableBool(
"m_PanelWasUsed");
48 UnregisterPanel(
this);
66 GetGame().RegisterNetworkStaticObject(
this);
69 m_PanelWasUsed =
true;
74 ErrorEx(
"Can't find the instance of entrance the panel is linkined to");
82 m_Entrances =
new set<Land_Underground_EntranceBase>();
98 ErrorEx(
"Attempted to unregistered non-registered entrance");
107 m_Panels =
new set<Land_Underground_Panel>;
123 ErrorEx(
"Attempted to unregistered non-registered panel");
147 float closestDst =
float.MAX;
153 float dist =
vector.DistanceSq(thisPos, obj.GetPosition());
154 if (dist < closestDst)
167 if (color == ELEDColors.RED)
266 m_PanelWasUsed =
false;
274 case EUndegroundDoorType.MAIN:
303 case EUndegroundDoorType.SMALL:
331 protected void UpdateLED(
string selection,
string color)
333 int selectionIdx = GetHiddenSelectionIndex(selection);
334 SetObjectTexture(selectionIdx, color);
346 PlaySoundSet(
m_ActivationSound,
"UndergroundDoor_PanelActivation_SoundSet", 0, 0 );
proto native CGame GetGame()
protected void UpdateLED(string selection, string color)
bool m_PanelWasUsed bool m_PanelWasUsedPrev
ref Timer m_FlipFlopTimer
ELEDState m_LedStateGreen
void SetLEDState(ELEDColors color, ELEDState state)
Land_Underground_EntranceBase m_LinkedDoor
const string COLOR_LED_OFF
Land_Underground_EntranceBase GetLinkedDoor()
const string SELECTION_NAME_LED_RED
const string SELECTION_NAME_LED_GREEN
const string COLOR_LED_RED
const string COLOR_LED_GREEN
void OnPanelUsedSynchronized()
enum ELEDState m_Entrances
class JsonUndergroundAreaTriggerData GetPosition
Wrapper class for managing sound through SEffectManager.
void ~Land_Underground_Panel()
void OnDoorStateChangedClient(EUndegroundEntranceState newState, EUndegroundEntranceState prevState)
EffectSound m_ActivationSound
Land_Underground_EntranceBase GetClosestDoor()
EUndegroundDoorType GetLinkedDoorType()
void SetBlinkingTimer(bool enable)
ref array< ref HudDebugWinBase > m_Panels
override void OnVariablesSynchronized()
void Land_Underground_Panel()