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

Private Member Functions

void ActionPlaceOnGround ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
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 ActionPlaceOnGround.c.

Constructor & Destructor Documentation

◆ ActionPlaceOnGround()

void ActionPlaceOnGround::ActionPlaceOnGround ( )
inlineprivate

Definition at line 11 of file ActionPlaceOnGround.c.

References AnimatedActionBase::m_CallbackClass, and m_Text.

Member Function Documentation

◆ ActionCondition()

override bool ActionPlaceOnGround::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

Definition at line 23 of file ActionPlaceOnGround.c.

24 {
25 if (player && player.IsAlive() && !item.IsDamageDestroyed()) //&& IsConscious && IsNotCaptured
26 return true;
27 else
28 return false;
29 }

◆ CreateConditionComponents()

override void ActionPlaceOnGround::CreateConditionComponents ( )
inlineprivate

Definition at line 17 of file ActionPlaceOnGround.c.

18 {
21 }
ref CCIBase m_ConditionItem
Definition ActionBase.c:55
ref CCTBase m_ConditionTarget
Definition ActionBase.c:56

References m_ConditionItem, and m_ConditionTarget.

◆ OnFinishProgressServer()

override void ActionPlaceOnGround::OnFinishProgressServer ( ActionData action_data)
inlineprivate

Definition at line 31 of file ActionPlaceOnGround.c.

32 {
33 action_data.m_Player.DropItem(action_data.m_MainItem);
34 }

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