class ActionDrinkPondContinuousSource
ActionDrinkThroughContinuous › ActionDrinkPondContinuous › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
All members, including inherited
Constructors 1
void ActionDrinkPondContinuous()References AnimatedActionBase.m_CallbackClass, AnimatedActionBase.m_CommandUID, ActionBase.m_FullBody
Show 2 more
, ActionBase.m_StanceMask, and ActionBase.m_TextConstants 2
private const float WATER_DRANK_PER_SEC = 35protected const string ALLOWED_WATER_SURFACES = string.Format("%1|%2", UAWaterType.FRESH, UAWaterType.STILL)Methods 11
override bool IsDrink()override typename GetInputType()override bool CanBeUsedInFreelook()override void CreateConditionComponents()References new CCINone(), new CCTWaterSurfaceEx(), UAMaxDistances.DEFAULT
Show 2 more
, ActionBase.m_ConditionItem, and ActionBase.m_ConditionTargetoverride 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)References Class.Cast(), PlayerBase.Consume(), CABase.GetACData()
Show 12 more
, PlayerBase.GetBloodyHandsPenaltyAgents(), GetLiquidSource(), new PlayerConsumeData(), UAQuantityConsumed.DRINK, ActionData.m_ActionComponent, PlayerConsumeData.m_Agents, PlayerConsumeData.m_Amount, PlayerConsumeData.m_LiquidType, ActionData.m_Player, PlayerConsumeData.m_Source, ActionData.m_Target, and PlayerConsumeData.m_Typeoverride void WriteToContext(ParamsWriteContext ctx, ActionData action_data)References ActionTarget.GetCursorHitPos(), ActionBase.HasTarget(), Serializer.Write()
Show 3 more
, ActionBase.WriteToContext(), ActionData.m_Target, and vector.Zerooverride bool ReadFromContext(ParamsReadContext ctx, out ActionReciveData action_recive_data)References ActionBase.HasTarget(), Serializer.Read(), ActionBase.ReadFromContext()
Show 2 more
, ActionTarget.SetCursorHitPos(), and ActionReciveData.m_Targetprotected int GetLiquidSource(ActionTarget target)Referenced by OnFinishProgressServer()