Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
actiondrinkpondcontinuous.c File Reference

Go to the source code of this file.

Data Structures

class  ActionDrinkPondContinuousCB
 

Functions

void ActionDrinkPondContinuous ()
 
override bool IsDrink ()
 
override GetInputType ()
 
override void CreateConditionComponents ()
 
override bool ActionCondition (PlayerBase player, ActionTarget target, ItemBase item)
 
override void OnStart (ActionData action_data)
 
override void OnEnd (ActionData action_data)
 
override void OnFinishProgressServer (ActionData action_data)
 
override void OnEndAnimationLoopServer (ActionData action_data)
 
override void WriteToContext (ParamsWriteContext ctx, ActionData action_data)
 
override bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
 

Variables

ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35
 
const protected string ALLOWED_WATER_SURFACES = string.Format("%1|%2", UAWaterType.FRESH, UAWaterType.STILL)
 

Function Documentation

◆ ActionCondition()

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

Definition at line 39 of file actiondrinkpondcontinuous.c.

◆ ActionDrinkPondContinuous()

void ActionDrinkPondContinuous ( )

Definition at line 14 of file actiondrinkpondcontinuous.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

Definition at line 33 of file actiondrinkpondcontinuous.c.

◆ GetInputType()

override GetInputType ( )

Definition at line 28 of file actiondrinkpondcontinuous.c.

◆ IsDrink()

override bool IsDrink ( )

Definition at line 23 of file actiondrinkpondcontinuous.c.

◆ OnEnd()

override void OnEnd ( ActionData  action_data)

Definition at line 54 of file actiondrinkpondcontinuous.c.

◆ OnEndAnimationLoopServer()

override void OnEndAnimationLoopServer ( ActionData  action_data)

Definition at line 66 of file actiondrinkpondcontinuous.c.

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData  action_data)

Definition at line 59 of file actiondrinkpondcontinuous.c.

◆ OnStart()

override void OnStart ( ActionData  action_data)

Definition at line 47 of file actiondrinkpondcontinuous.c.

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext  ctx,
out ActionReciveData  action_recive_data 
)

Definition at line 87 of file actiondrinkpondcontinuous.c.

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext  ctx,
ActionData  action_data 
)

Definition at line 74 of file actiondrinkpondcontinuous.c.

Variable Documentation

◆ ALLOWED_WATER_SURFACES

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

Definition at line 12 of file actiondrinkpondcontinuous.c.

◆ WATER_DRANK_PER_SEC

ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35