class ActionDetachBattery
ActionDetachBattery › ActionInteractBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Full hierarchyFull members 152
- ActionBase_Basic
- ActionBase
- AnimatedActionBase
- ActionInteractBase
- ActionDetachBattery
- ActionInteractBase
- AnimatedActionBase
- ActionBase
Constants 1
protected const string SELECTION_BACK = "back"Referenced by ActionCondition()
Methods 5
override void CreateConditionComponents()override bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References AnimatedActionBase.ActionCondition(), GameInventory.CanAddEntityIntoHands(), EntityAI.CanDetachAttachment()
Show 17 more
, EntityAI.CanReleaseAttachment(), Class.Cast(), Class.Cast(), GameInventory.FindAttachment(), Object.GetActionComponentNameList(), ActionTarget.GetComponentIndex(), Object.GetDisplayName(), EntityAI.GetHierarchyRoot(), EntityAI.GetInventory(), EntityAI.GetInventory(), ActionTarget.GetObject(), GameInventory.HasAttachmentSlot(), DigitalCodeLock.IsLocked(), EntityAI.IsLockedInSlot(), ActionBase.m_Text, SELECTION_BACK, and Battery9V.SLOT_IDoverride void OnExecute(ActionData action_data)void ProcessDetach(ActionData actionData, EntityAI attachment)References ActionBase.ClearInventoryReservationEx(), PlayerBase.PredictiveTakeEntityToHands(), and ActionData.m_Player
Referenced by OnExecute()
override bool CanBeSetFromInventory()