Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actionminebushbyhand.c
Go to the documentation of this file.
2 {
4  {
5  m_CallbackClass = ActionMineBushCB;
6  m_CommandUID = DayZPlayerConstants.CMD_ACTIONFB_INTERACT;
7  m_FullBody = true;
8  m_StanceMask = DayZPlayerConstants.STANCEMASK_CROUCH | DayZPlayerConstants.STANCEMASK_ERECT;
10  }
11 
12  override void CreateConditionComponents()
13  {
16  }
17 
18  override bool ActionCondition( PlayerBase player, ActionTarget target, ItemBase item )
19  {
20  if ( GetGame().IsMultiplayer() && GetGame().IsServer() )
21  return true;
22 
23  return (super.ActionCondition(player, target, item) && !item);
24  }
25 };
ItemBase
Definition: inventoryitem.c:730
GetGame
proto native CGame GetGame()
ActionMineBushByHand
Definition: actionminebushbyhand.c:1
UASoftSkillsWeight
Definition: actionconstants.c:118
CCINone
Definition: ccinone.c:1
UAMaxDistances
Definition: actionconstants.c:104
m_FullBody
protected bool m_FullBody
Definition: actionbase.c:52
PlayerBase
Definition: playerbaseclient.c:1
ActionTarget
class ActionTargets ActionTarget
DayZPlayerConstants
DayZPlayerConstants
defined in C++
Definition: dayzplayer.c:601
CCTCursor
Definition: cctcursor.c:1
m_ConditionItem
ref CCIBase m_ConditionItem
Definition: actionbase.c:55
ActionMineBush
Definition: actionminebush.c:11
ActionMineBushCB
Definition: actionminebush.c:1
m_ConditionTarget
ref CCTBase m_ConditionTarget
Definition: actionbase.c:56
m_SpecialtyWeight
protected float m_SpecialtyWeight
Definition: actionbase.c:68
m_StanceMask
protected int m_StanceMask
Definition: actionbase.c:53