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

Private Member Functions

void ActionTestBloodSelf ()
 
override void CreateConditionComponents ()
 
override bool HasTarget ()
 
override void OnFinishProgressServer (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 ActionTestBloodSelf.c.

Constructor & Destructor Documentation

◆ ActionTestBloodSelf()

void ActionTestBloodSelf::ActionTestBloodSelf ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionTestBloodSelf::CreateConditionComponents ( )
inlineprivate

Definition at line 21 of file ActionTestBloodSelf.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 ActionTestBloodSelf::HasTarget ( )
inlineprivate

Definition at line 27 of file ActionTestBloodSelf.c.

28 {
29 return false;
30 }

◆ OnFinishProgressServer()

override void ActionTestBloodSelf::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 32 of file ActionTestBloodSelf.c.

33 {
35 int blood_type = action_data.m_Player.GetStatBloodType().Get();
36
37 module_lifespan.UpdateBloodType(action_data.m_Player, blood_type);
38 module_lifespan.UpdateBloodTypeVisibility(action_data.m_Player, true);
39
40 action_data.m_MainItem.Delete();
41 action_data.m_Player.GetSoftSkillsManager().AddSpecialty(m_SpecialtyWeight);
42 }
void PluginLifespan()
PluginBase GetPlugin(typename plugin_type)

References GetPlugin(), m_SpecialtyWeight, and PluginLifespan().


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