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

Private Member Functions

void ActionCollectBloodTarget ()
 
override void CreateConditionComponents ()
 
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 ActionCollectBloodTarget.c.

Constructor & Destructor Documentation

◆ ActionCollectBloodTarget()

void ActionCollectBloodTarget::ActionCollectBloodTarget ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionCollectBloodTarget::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionCollectBloodTarget.c.

22 {
25 }
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.

◆ OnEndServer()

override void ActionCollectBloodTarget::OnEndServer ( ActionData action_data)
inlineprivate

Definition at line 27 of file ActionCollectBloodTarget.c.

28 {
29 PlayerBase ntarget = PlayerBase.Cast(action_data.m_Target.GetObject());
30
31 if (!ntarget)
32 return;
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 //action_data.m_Player.GetItemInHands().SetQuantity();
46 }
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: