class ActionRepairPartSource
ActionRepairPart › ActionDismantlePart › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
All members, including inherited
Constructors 1
void ActionRepairPart()Methods 13
override void CreateConditionComponents()References new CCTNonRuined(), UAMaxDistances.BASEBUILDING, ActionBase.m_ConditionItem
Show 1 more
, ActionBase.m_ConditionTargetoverride void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)override string GetText()References Class.Cast(), PlayerBase.GetConstructionActionData(), ConstructionPart.GetName()
Show 2 more
, CGame.GetPlayer(), and ConstructionActionData.GetTargetPart()override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)override bool ActionConditionContinue(ActionData action_data)References RepairCondition(), ActionData.m_MainItem, ActionData.m_Player
Show 1 more
, ActionData.m_Targetoverride void OnFinishProgressServer(ActionData action_data)References Class.Cast(), Class.Cast(), Class.CastTo()
Show 13 more
, Object.DecreaseHealth(), Object.GetActionComponentName(), BaseBuildingBase.GetConstruction(), DamageSystem.GetDamageZoneFromComponentName(), ActionTarget.GetObject(), GetPlugin(), PluginRepairing.Repair(), Construction.TakeMaterialsServer(), ActionData.m_MainItem, ActionData.m_Player, ActionBase.m_SpecialtyWeight, ActionData.m_Target, and UADamageApplied.REPAIRprotected override void SetBuildingAnimation(ItemBase item)override ActionData CreateActionData()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)References Class.Cast(), Class.Cast(), ActionBase.HandleReciveData()
Show 1 more
, RepairPartActionReciveData.m_ComponentIndexRecivedprotected bool RepairCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)References HumanInputController.CameraIsFreeLook(), Object.CanUseConstruction(), Class.Cast()
Show 18 more
, Object.GetActionComponentName(), ActionTarget.GetComponentIndex(), BaseBuildingBase.GetConstruction(), PlayerBase.GetConstructionActionData(), Construction.GetConstructionPart(), DamageSystem.GetDamageZoneFromComponentName(), Object.GetHealthLevel(), Human.GetInputController(), ConstructionPart.GetMainPartName(), ActionTarget.GetObject(), Construction.HasMaterials(), BaseBuildingBase.HasProperDistance(), CGame.IsDedicatedServer(), BaseBuildingBase.IsFacingCamera(), BaseBuildingBase.IsFacingPlayer(), ConstructionActionData.SetTargetPart(), GameConstants.STATE_RUINED, and GameConstants.STATE_WORNoverride string GetAdminLogMessage(ActionData action_data)References Object.GetDisplayName(), Object.GetDisplayName(), ActionTarget.GetObject()