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

Private Member Functions

void ActionDefibrilateTarget ()
 
override void CreateConditionComponents ()
 
override void OnFinishProgressClient (ActionData action_data)
 
override void OnFinishProgressServer (ActionData action_data)
 

Detailed Description

Definition at line 9 of file ActionDefibrilateTarget.c.

Constructor & Destructor Documentation

◆ ActionDefibrilateTarget()

void ActionDefibrilateTarget::ActionDefibrilateTarget ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionDefibrilateTarget::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionDefibrilateTarget.c.

22 {
23
26 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56
Definition CCTMan.c:2
const float DEFAULT

References UAMaxDistances::DEFAULT, m_ConditionItem, and m_ConditionTarget.

◆ OnFinishProgressClient()

override void ActionDefibrilateTarget::OnFinishProgressClient ( ActionData action_data)
inlineprivate

Definition at line 28 of file ActionDefibrilateTarget.c.

29 {
30 Defibrillator defib;
31 PlayerBase player = action_data.m_Player;
32 Class.CastTo(defib, action_data.m_MainItem);
33
35 }
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 ActionDefibrilateTarget::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 37 of file ActionDefibrilateTarget.c.

38 {
39 Defibrillator defib = Defibrillator.Cast(action_data.m_MainItem);
40 PlayerBase target_player = PlayerBase.Cast(action_data.m_Target.GetObject());
41
43 }
void DefibrillateServer(PlayerBase player, Defibrillator defib)

References ActionDefibrilateBase::DefibrillateServer().


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