DayZ 1.24
Loading...
Searching...
No Matches
Land_Underground_Panel_Lever Class Reference
Inheritance diagram for Land_Underground_Panel_Lever:
[legend]
Collaboration diagram for Land_Underground_Panel_Lever:
[legend]

Private Member Functions

override void SetActions ()
 
void ResetPhase (EntityAI target)
 
override void OnPanelUsedSynchronized ()
 
override void Interact ()
 

Detailed Description

Definition at line 1 of file Land_Underground_Panel_Lever.c.

Member Function Documentation

◆ Interact()

override void Land_Underground_Panel_Lever::Interact ( )
inlineprivate

Definition at line 23 of file Land_Underground_Panel_Lever.c.

24 {
25 super.Interact();
26 GetGame().RegisterNetworkStaticObject(this);
27 GetGame().RegisterNetworkStaticObject(GetLinkedDoor());
28 }
Land_Underground_EntranceBase GetLinkedDoor()
proto native CGame GetGame()

References GetGame(), and GetLinkedDoor().

◆ OnPanelUsedSynchronized()

override void Land_Underground_Panel_Lever::OnPanelUsedSynchronized ( )
inlineprivate

Definition at line 15 of file Land_Underground_Panel_Lever.c.

16 {
17 super.OnPanelUsedSynchronized();
18 SetAnimationPhase("PanelLever", 1);
19 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(ResetPhase, 3000, false, this);
21 }
void OnLEDStateChanged()
const int CALL_CATEGORY_SYSTEM
Definition tools.c:8

References CALL_CATEGORY_SYSTEM, GetGame(), OnLEDStateChanged(), and ResetPhase().

◆ ResetPhase()

void Land_Underground_Panel_Lever::ResetPhase ( EntityAI target)
inlineprivate

Definition at line 10 of file Land_Underground_Panel_Lever.c.

11 {
12 target.SetAnimationPhaseNow("PanelLever", 0);
13 }

Referenced by OnPanelUsedSynchronized().

◆ SetActions()

override void Land_Underground_Panel_Lever::SetActions ( )
inlineprivate

Definition at line 3 of file Land_Underground_Panel_Lever.c.

4 {
5 super.SetActions();
6
8 }
void AddAction(typename actionName)

References AddAction().


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