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) |
| override bool ActionCondition | ( | PlayerBase | player, |
| ActionTarget | target, | ||
| ItemBase | item | ||
| ) |
| void ActionDrinkPondContinuous | ( | ) |
References m_CommandUID, and m_StanceMask.
Referenced by ActionConstructor::RegisterActions(), and ManBase::SetActions().
| override bool CanBeUsedInFreelook | ( | ) |
| override void CreateConditionComponents | ( | ) |
References CCTWaterSurfaceEx(), UAMaxDistances::DEFAULT, LIQUID_GROUP_DRINKWATER, LIQUID_HOTWATER, and LIQUID_SNOW.
| override GetInputType | ( | ) |
| protected int GetLiquidSource | ( | ActionTarget | target | ) |
References CGame::ConfigGetInt(), g_Game, GetGame(), and path.
Referenced by OnFinishProgressServer().
| override bool IsDrink | ( | ) |
| override void OnEnd | ( | ActionData | action_data | ) |
| override void OnFinishProgressServer | ( | ActionData | action_data | ) |
| override void OnStart | ( | ActionData | action_data | ) |
| override bool ReadFromContext | ( | ParamsReadContext | ctx, |
| out ActionReciveData | action_recive_data | ||
| ) |
References ActionBase::HasTarget(), and Serializer::Read().
| override void WriteToContext | ( | ParamsWriteContext | ctx, |
| ActionData | action_data | ||
| ) |
References ActionBase::HasTarget(), Serializer::Write(), and vector::Zero.
| protected const string ALLOWED_WATER_SURFACES = string.Format("%1|%2", UAWaterType.FRESH, UAWaterType.STILL) |
| ActionDrinkPondContinuousCB WATER_DRANK_PER_SEC = 35 |