PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ActionDrinkPondContinuous.c File Reference

Data Structures

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)
 
protected int GetLiquidSource (ActionTarget target)
 

Variables

ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35
 
protected 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 
)

◆ ActionDrinkPondContinuous()

void ActionDrinkPondContinuous ( )

◆ CanBeUsedInFreelook()

override bool CanBeUsedInFreelook ( )

◆ CreateConditionComponents()

override void CreateConditionComponents ( )

◆ GetInputType()

override GetInputType ( )

◆ GetLiquidSource()

protected int GetLiquidSource ( ActionTarget  target)

◆ IsDrink()

override bool IsDrink ( )

◆ OnEnd()

override void OnEnd ( ActionData  action_data)

◆ OnFinishProgressServer()

◆ OnStart()

override void OnStart ( ActionData  action_data)

◆ ReadFromContext()

override bool ReadFromContext ( ParamsReadContext  ctx,
out ActionReciveData  action_recive_data 
)

◆ WriteToContext()

override void WriteToContext ( ParamsWriteContext  ctx,
ActionData  action_data 
)

Variable Documentation

◆ ALLOWED_WATER_SURFACES

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

◆ WATER_DRANK_PER_SEC

ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35