class ActionDestroyPart
ActionDestroyPart › ActionContinuousBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Full hierarchyFull members 165
- ActionBase_Basic
- ActionBase
- AnimatedActionBase
- ActionContinuousBase
- ActionDestroyPart
- ActionContinuousBase
- AnimatedActionBase
- ActionBase
Members 1
static int CYCLES = 4Referenced by OnFinishProgressServer()
Methods 8
override void CreateConditionComponents()override void OnActionInfoUpdate(PlayerBase player, ActionTarget target, ItemBase item)override bool CanBeUsedLeaning()override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)override bool ActionConditionContinue(ActionData action_data)References DestroyCondition(), ActionData.m_MainItem, ActionData.m_Player
Show 1 more
, ActionData.m_Targetoverride void OnFinishProgressServer(ActionData action_data)References Object.AddHealth(), ConstructionBase.CanDestroyPart(), Class.Cast()
Show 16 more
, Class.Cast(), Object.DecreaseHealth(), ConstructionBase.DestroyPartServer(), PlayerBase.GetConstructionActionData(), EntityAI.GetConstructionBasic(), DamageSystem.GetDamageZoneFromComponentName(), Object.GetHealth(), Object.GetMaxHealth(), ActionTarget.GetObject(), ConstructionPart.GetPartName(), ConstructionActionData.GetTargetPart(), CYCLES, UADamageApplied.DESTROY, ActionData.m_MainItem, ActionData.m_Player, and ActionData.m_Targetprotected bool DestroyCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)References HumanInputController.CameraIsFreeLook(), Object.CanUseConstruction(), Class.Cast()
Show 13 more
, Class.Cast(), Object.GetActionComponentName(), ActionTarget.GetComponentIndex(), PlayerBase.GetConstructionActionData(), EntityAI.GetConstructionBasic(), ConstructionBase.GetConstructionPartToDestroy(), Human.GetInputController(), ActionTarget.GetObject(), CGame.IsDedicatedServer(), EntityAI.IsFacingCamera(), ActionBase.IsInReach(), ConstructionActionData.SetTargetPart(), and UAMaxDistances.DEFAULToverride string GetAdminLogMessage(ActionData action_data)References Object.GetDisplayName(), Object.GetDisplayName(), ActionTarget.GetObject()