Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
actiondrinkpondcontinuous.c File Reference

Go to the source code of this file.

Classes

class  ActionDrinkPondContinuousCB

Functions

void ActionDrinkPondContinuous ()
override bool IsDrink ()
override GetInputType ()
override bool CanBeUsedInFreelook ()
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 WriteToContext (ParamsWriteContext ctx, ActionData action_data)
override bool ReadFromContext (ParamsReadContext ctx, out ActionReciveData action_recive_data)
int GetLiquidSource (ActionTarget target)

Variables

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

Function Documentation

◆ ActionCondition()

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

Definition at line 44 of file actiondrinkpondcontinuous.c.

◆ ActionDrinkPondContinuous()

void ActionDrinkPondContinuous ( )
protected

Definition at line 14 of file actiondrinkpondcontinuous.c.

◆ CanBeUsedInFreelook()

override bool CanBeUsedInFreelook ( )
protected

Definition at line 33 of file actiondrinkpondcontinuous.c.

◆ CreateConditionComponents()

override void CreateConditionComponents ( )
protected

Definition at line 38 of file actiondrinkpondcontinuous.c.

◆ GetInputType()

override GetInputType ( )
protected

Definition at line 28 of file actiondrinkpondcontinuous.c.

◆ GetLiquidSource()

int GetLiquidSource ( ActionTarget target)
protected

Definition at line 123 of file actiondrinkpondcontinuous.c.

◆ IsDrink()

override bool IsDrink ( )
protected

Definition at line 23 of file actiondrinkpondcontinuous.c.

◆ OnEnd()

override void OnEnd ( ActionData action_data)
protected

Definition at line 59 of file actiondrinkpondcontinuous.c.

◆ OnFinishProgressServer()

override void OnFinishProgressServer ( ActionData action_data)
protected

Definition at line 64 of file actiondrinkpondcontinuous.c.

◆ OnStart()

override void OnStart ( ActionData action_data)
protected

Definition at line 52 of file actiondrinkpondcontinuous.c.

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext ctx,
out ActionReciveData action_recive_data )
protected

Definition at line 107 of file actiondrinkpondcontinuous.c.

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext ctx,
ActionData action_data )
protected

Definition at line 94 of file actiondrinkpondcontinuous.c.

Variable Documentation

◆ ALLOWED_WATER_SURFACES

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

Definition at line 12 of file actiondrinkpondcontinuous.c.

◆ WATER_DRANK_PER_SEC

ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35