Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
poweredoptic_base.c
Go to the documentation of this file.
2{
4 protected bool m_IsActionActive; // sanity check for comparing to EM synched value
5
6 void SetPlayer( PlayerBase player )
7 {
8 m_Player = player;
9 }
10
12 {
13 return m_Player;
14 }
15
17 {
18 m_IsActionActive = true;
19 GetCompEM().SwitchOn();
20 }
21
23 {
24 GetCompEM().SwitchOff();
25 m_IsActionActive = false;
26 }
27}
PlayerBase GetPlayer()
void SetPlayer(PlayerBase player)
void StartWorkServer()
PlayerBase m_Player
void StopWorkServer()
DayZPlayer m_Player
Definition hand_events.c:42