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

Private Member Functions

void ActionGiveSalineSelf ()
 
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 ActionGiveSalineSelf.c.

Constructor & Destructor Documentation

◆ ActionGiveSalineSelf()

void ActionGiveSalineSelf::ActionGiveSalineSelf ( )
inlineprivate

Member Function Documentation

◆ CreateConditionComponents()

override void ActionGiveSalineSelf::CreateConditionComponents ( )
inlineprivate

Definition at line 22 of file ActionGiveSalineSelf.c.

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 ActionGiveSalineSelf::HasTarget ( )
inlineprivate

Definition at line 28 of file ActionGiveSalineSelf.c.

29 {
30 return false;
31 }

◆ OnFinishProgressServer()

override void ActionGiveSalineSelf::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 33 of file ActionGiveSalineSelf.c.

34 {
35 action_data.m_MainItem.TransferModifiers(action_data.m_Player);
36 Param1<float> nacdata = Param1<float>.Cast(action_data.m_ActionComponent.GetACData());
37 float delta = nacdata.param1;
38 action_data.m_Player.GetModifiersManager().ActivateModifier(eModifiers.MDF_SALINE);
39 action_data.m_Player.GetSoftSkillsManager().AddSpecialty(m_SpecialtyWeight);
40
41 action_data.m_MainItem.Delete();
42 }
eModifiers
Definition eModifiers.c:2

References m_SpecialtyWeight.


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