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

Private Member Functions

void ActionCollectBloodSelf ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override void OnEndServer (ActionData action_data)
 
- Private Member Functions inherited from ActionContinuousBase
void OnStartAnimationLoopServer (ActionData action_data)
 
void OnStartAnimationLoopClient (ActionData action_data)
 
void OnEndAnimationLoopServer (ActionData action_data)
 
void OnEndAnimationLoopClient (ActionData action_data)
 
void OnFinishProgressServer (ActionData action_data)
 
void OnFinishProgressClient (ActionData action_data)
 

Detailed Description

Definition at line 9 of file ActionCollectBloodSelf.c.

Constructor & Destructor Documentation

◆ ActionCollectBloodSelf()

void ActionCollectBloodSelf::ActionCollectBloodSelf ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionCollectBloodSelf::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionCollectBloodSelf.c.

22 {
25 }
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 ActionCollectBloodSelf::HasTarget ( )
inlineprivate

Definition at line 27 of file ActionCollectBloodSelf.c.

28 {
29 return false;
30 }

◆ OnEndServer()

override void ActionCollectBloodSelf::OnEndServer ( ActionData action_data)
inlineprivate

Definition at line 32 of file ActionCollectBloodSelf.c.

33 {
35 Class.CastTo(nacdata, action_data.m_ActionComponent.GetACData());
36 float delta = 0;
37 if (nacdata)
39
40 if (delta > 0)
41 {
43 action_data.m_Player.ServerReplaceItemInHandsWithNew(lambda);
44 }
45 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
const float COLLECT_BLOOD
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.

References Class::CastTo(), UATimeSpent::COLLECT_BLOOD, and m_SpecialtyWeight.


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