class ActionRepairVehiclePartBaseSource
ActionRepairVehiclePartBase › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Derived classes
All members, including inherited
Members 1
protected string m_CurrentDamageZoneneeds to be assigned in action condition so it can be properly written to context
Methods 8
override void CreateConditionComponents()References new CCINonRuined(), new CCTCursor(), ActionBase.m_ConditionItem
Show 2 more
, ActionBase.m_ConditionTarget, and UAMaxDistances.REPAIRoverride void OnFinishProgressServer(ActionData action_data)protected void AdjustVehicleHealthServer(ActionData action_data)References Class.Cast(), Class.Cast(), Math.Clamp()
Show 15 more
, Object.GetHealthLevel(), Object.GetMaxHealth(), ActionTarget.GetObject(), CGame.IsMultiplayer(), Math.RandomFloatInclusive(), Object.SetHealth(), GameConstants.DAMAGE_BADLY_DAMAGED_VALUE, GameConstants.DAMAGE_DAMAGED_VALUE, GameConstants.DAMAGE_RUINED_VALUE, m_CurrentDamageZone, ActionData.m_Target, GameConstants.STATE_BADLY_DAMAGED, GameConstants.STATE_DAMAGED, GameConstants.STATE_RUINED, and GameConstants.STATE_WORNprotected void AdjustItemQuantityServer(ActionData action_data)References EntityAI.Delete(), ItemBase.GetQuantity(), ItemBase.GetQuantityMax()
Show 3 more
, ItemBase.HasQuantity(), ItemBase.SetQuantity(), and ActionData.m_MainItemReferenced by OnFinishProgressServer()
override ActionData CreateActionData()References new RepairVehiclePartActionData()
override void WriteToContext(ParamsWriteContext ctx, ActionData action_data)override bool ReadFromContext(ParamsReadContext ctx, out ActionReciveData action_recive_data)override void HandleReciveData(ActionReciveData action_recive_data, ActionData action_data)