class ActionRepairCarPartSource
ActionRepairCarPartWithBlowtorch › ActionRepairCarPart › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
All members, including inherited
Constructors 1
void ActionRepairCarPart()Members 3
typename m_LastValidTypestring m_CurrentDamageZone = ""int m_LastValidComponentIndex = -1Methods 7
override void CreateConditionComponents()References new CCINonRuined(), new CCTCursor(), ActionBase.m_ConditionItem
Show 2 more
, ActionBase.m_ConditionTarget, and UAMaxDistances.REPAIRoverride bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References Class.Cast(), Class.Cast(), PlayerBase.GetBrokenLegs()
Show 13 more
, CarScript.GetCarDoorsState(), GameInventory.GetCurrentInventoryLocation(), Object.GetHealthLevel(), EntityAI.GetInventory(), ActionTarget.GetObject(), ActionTarget.GetParent(), InventoryLocation.GetSlot(), InventorySlots.GetSlotName(), new InventoryLocation(), CGame.IsMultiplayer(), CGame.IsServer(), GameConstants.STATE_RUINED, and GameConstants.STATE_WORNReferenced by ActionRepairCarPartWithBlowtorch.ActionCondition()
override void OnFinishProgressServer(ActionData action_data)References Class.Cast(), Class.Cast(), Math.Clamp()
Show 21 more
, EntityAI.Delete(), Object.GetHealthLevel(), Object.GetMaxHealth(), ActionTarget.GetObject(), ItemBase.GetQuantity(), ItemBase.GetQuantityMax(), ItemBase.HasQuantity(), CGame.IsMultiplayer(), Math.RandomFloatInclusive(), Object.SetHealth(), ItemBase.SetQuantity(), GameConstants.DAMAGE_BADLY_DAMAGED_VALUE, GameConstants.DAMAGE_DAMAGED_VALUE, GameConstants.DAMAGE_RUINED_VALUE, m_CurrentDamageZone, ActionData.m_MainItem, ActionData.m_Target, GameConstants.STATE_BADLY_DAMAGED, GameConstants.STATE_DAMAGED, GameConstants.STATE_RUINED, and GameConstants.STATE_WORNoverride ActionData CreateActionData()References new RepairCarPartActionData()
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)