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

Private Member Functions

void ActionDefibrilateSelf ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override void OnFinishProgressClient (ActionData action_data)
 
override void OnFinishProgressServer (ActionData action_data)
 

Detailed Description

Definition at line 9 of file ActionDefibrilateSelf.c.

Constructor & Destructor Documentation

◆ ActionDefibrilateSelf()

void ActionDefibrilateSelf::ActionDefibrilateSelf ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionDefibrilateSelf::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionDefibrilateSelf.c.

22 {
23
26 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ HasTarget()

override bool ActionDefibrilateSelf::HasTarget ( )
inlineprivate

Definition at line 28 of file ActionDefibrilateSelf.c.

29 {
30 return false;
31 }

◆ OnFinishProgressClient()

override void ActionDefibrilateSelf::OnFinishProgressClient ( ActionData action_data)
inlineprivate

Definition at line 33 of file ActionDefibrilateSelf.c.

34 {
35 Defibrillator defib;
36 PlayerBase player = action_data.m_Player;
37 Class.CastTo(defib, action_data.m_MainItem);
38
40 }
void DefibrillateClient(PlayerBase player, Defibrillator defib)
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo(), and ActionDefibrilateBase::DefibrillateClient().

◆ OnFinishProgressServer()

override void ActionDefibrilateSelf::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 42 of file ActionDefibrilateSelf.c.

43 {
44 Defibrillator defib;
45 PlayerBase player = action_data.m_Player;
46 Class.CastTo(defib, action_data.m_MainItem);
47
49 }
void DefibrillateServer(PlayerBase player, Defibrillator defib)

References Class::CastTo(), and ActionDefibrilateBase::DefibrillateServer().


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