18 Object targetObject = target.GetObject();
19 Object targetParent = target.GetParent();
25 if ( target_entity && item_entity )
27 if ( target_entity.GetInventory() && target_entity.GetInventory().CanAddAttachment( item_entity ) )
39 super.OnExecuteClient( action_data );
41 if ( action_data.
m_Player.IsPlacingLocal() )
43 action_data.
m_Player.TogglePlacingLocal();
AttachActionData ActionData ActionAttach()
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected int m_StanceMask
class ActionTargets ActionTarget
void ActionAttachOnProxy()
override void CreateConditionComponents()
override void OnExecuteClient(ActionData action_data)
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
DayZPlayerConstants
defined in C++