Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionFillBottleBase Class Reference
Inheritance diagram for ActionFillBottleBase:
ActionContinuousBase ActionFillBottleSnow

Protected Member Functions

void ActionFillBottleBase ()
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
override bool ActionConditionContinue (ActionData action_data)
override void CreateConditionComponents ()
int GetActionCommandEx (ActionData actionData)
int GetLiquidType (PlayerBase player, ActionTarget target, ItemBase item)
int GetStanceMask (PlayerBase player)
override bool IsLockTargetOnUse ()
void SetupStance (PlayerBase player)

Protected Attributes

int m_AllowedLiquidMask

Private Attributes

const int ALLOWED_LIQUID
const string ALLOWED_WATER_SURFACES = string.Format("%1|%2|%3", UAWaterType.FRESH, UAWaterType.STILL, UAWaterType.SNOW)
const float WATER_DEPTH = 0.5

Additional Inherited Members

Private Member Functions inherited from ActionContinuousBase
void OnEndAnimationLoopClient (ActionData action_data)
void OnEndAnimationLoopServer (ActionData action_data)
void OnFinishProgressClient (ActionData action_data)
void OnFinishProgressServer (ActionData action_data)
void OnStartAnimationLoopClient (ActionData action_data)
void OnStartAnimationLoopServer (ActionData action_data)

Detailed Description

Definition at line 26 of file actionfillbottlebase.c.

Constructor & Destructor Documentation

◆ ActionFillBottleBase()

Member Function Documentation

◆ ActionCondition()

override bool ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprotected

◆ ActionConditionContinue()

override bool ActionConditionContinue ( ActionData action_data)
inlineprotected

Definition at line 74 of file actionfillbottlebase.c.

References ActionData.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
inlineprotected

◆ GetActionCommandEx()

int GetActionCommandEx ( ActionData actionData)
inlineprotected

Definition at line 92 of file actionfillbottlebase.c.

References ActionData.

◆ GetLiquidType()

◆ GetStanceMask()

int GetStanceMask ( PlayerBase player)
inlineprotected

Definition at line 79 of file actionfillbottlebase.c.

References HumanCommandSwim(), and WATER_DEPTH.

◆ IsLockTargetOnUse()

override bool IsLockTargetOnUse ( )
inlineprotected

Definition at line 145 of file actionfillbottlebase.c.

◆ SetupStance()

void SetupStance ( PlayerBase player)
inlineprotected

Definition at line 131 of file actionfillbottlebase.c.

References HumanCommandSwim(), ActionBase::m_StanceMask, and WATER_DEPTH.

Field Documentation

◆ ALLOWED_LIQUID

const int ALLOWED_LIQUID
private

Definition at line 151 of file actionfillbottlebase.c.

◆ ALLOWED_WATER_SURFACES

const string ALLOWED_WATER_SURFACES = string.Format("%1|%2|%3", UAWaterType.FRESH, UAWaterType.STILL, UAWaterType.SNOW)
private

Definition at line 29 of file actionfillbottlebase.c.

◆ m_AllowedLiquidMask

int m_AllowedLiquidMask
protected

◆ WATER_DEPTH

const float WATER_DEPTH = 0.5
private

Definition at line 28 of file actionfillbottlebase.c.

Referenced by GetStanceMask(), and SetupStance().


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