class ActionDrinkPondContinuous
ActionDrinkPondContinuous › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Full hierarchy 1Full members 166
- ActionBase_Basic
- ActionBase
- AnimatedActionBase
- ActionContinuousBase
- ActionDrinkPondContinuous
- ActionContinuousBase
- AnimatedActionBase
- ActionBase
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 12
override bool IsDrink()override typename GetInputType()override bool CanBeUsedInFreelook()override void CreateConditionComponents()References new CCINone(), new CCTLiquid(), UAMaxDistances.DEFAULT
Show 2 more
, ActionBase.m_ConditionItem, and ActionBase.m_ConditionTargetoverride bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References PlayerBase.CanEatAndDrink(), ActionTarget.GetObject(), Object.GetWaterSourceObjectType()
Show 1 more
, ItemBase.IsHeavyBehaviour()override void OnStart(ActionData action_data)Don't allow drinking with hands with heavy items in hands
override void OnEnd(ActionData action_data)override void OnFinishProgressServer(ActionData action_data)References Class.Cast(), Class.Cast(), PlayerBase.Consume()
Show 13 more
, CABase.GetACData(), PlayerBase.GetBloodyHandsPenaltyAgents(), CCTLiquid.GetLiquidType(), new PlayerConsumeData(), UAQuantityConsumed.DRINK, ActionData.m_ActionComponent, PlayerConsumeData.m_Agents, PlayerConsumeData.m_Amount, ActionBase.m_ConditionTarget, PlayerConsumeData.m_LiquidType, ActionData.m_Player, PlayerConsumeData.m_Source, 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_Targetoverride bool IsLockTargetOnUse()protected int GetLiquidSource(ActionTarget target)DEPRECATED