45 if (item.IsFullQuantity())
48 Object targetObject = target.GetObject();
61 if (waterCheck.
Can(player, target))
76 if (super.SetupAction(player, target, item, action_data, extra_data))
78 if (action_data.m_Target.GetObject())
89 if (target.GetObject() && target.GetObject().IsFuelStation())
protected float m_SpecialtyWeight
ref CCIBase m_ConditionItem
ref CCTBase m_ConditionTarget
protected bool m_FullBody
protected int m_StanceMask
class ActionTargets ActionTarget
protected ActionData m_ActionData
ref CABase m_ActionComponent
ref ActionTarget m_Target
private int m_liquid_type
override void CreateActionComponent()
private float m_BaseFillQuantity
override bool ActionConditionContinue(ActionData action_data)
void SetupStance(PlayerBase player)
int GetLiquidType(PlayerBase player, ActionTarget target, ItemBase item)
private const string ALLOWED_WATER_SURFACES
void ActionFillBottleBase()
override void CreateConditionComponents()
override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)
override bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data=NULL)
private const float WATER_DEPTH
protected int m_CommandUID
protected m_CallbackClass
override bool Can(PlayerBase player, ActionTarget target)
static bool CanFillContainer(ItemBase container, int liquid_type, bool ignore_fullness_check=false)
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
static proto native float DistanceSq(vector v1, vector v2)
Returns the square distance between tips of two 3D vectors.
DayZPlayerConstants
defined in C++
const int LIQUID_GASOLINE
static proto string Format(string fmt, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
Gets n-th character from string.
class HumanCommandLadder HumanCommandSwim()