class ActionDetachFromTargetSource
ActionDetachFromTarget › ActionInteractBase › AnimatedActionBase › ActionBase › ActionBase_Basic
Derived classes
View all 7 descendants
All members, including inherited
Constructors 1
void ActionDetachFromTarget()References ActionBase.m_Text
Methods 9
override void CreateConditionComponents()override typename GetInputType()override ActionData CreateActionData()int FindSlotIdToDetach(PlayerBase player, ActionTarget target, ItemBase item)References GameInventory.AttachmentCount(), GameInventory.CanAddEntityIntoHands(), EntityAI.CanDetachAttachment()
Show 11 more
, EntityAI.CanReleaseAttachment(), Class.Cast(), array.Count(), GameInventory.FindAttachment(), Object.GetActionComponentNameList(), ActionTarget.GetComponentIndex(), EntityAI.GetInventory(), EntityAI.GetInventory(), ActionTarget.GetObject(), InventorySlots.GetSlotIdFromString(), and InventorySlots.INVALIDoverride bool SetupAction(PlayerBase player, ActionTarget target, ItemBase item, out ActionData action_data, Param extra_data = NULL)References Class.Cast(), FindSlotIdToDetach(), CGame.IsDedicatedServer()
Show 3 more
, ActionBase.SetupAction(), InventorySlots.INVALID, and DetachActionData.m_AttSlotoverride bool ActionCondition(PlayerBase player, ActionTarget target, ItemBase item)References FindSlotIdToDetach(), CGame.IsMultiplayer(), CGame.IsServer()
Show 1 more
, InventorySlots.INVALIDoverride Object GetDisplayInteractObject(PlayerBase player, ActionTarget target)References Class.Cast(), GameInventory.FindAttachment(), FindSlotIdToDetach()
Show 3 more
, EntityAI.GetInventory(), ActionTarget.GetObject(), and InventorySlots.INVALIDoverride void OnExecute(ActionData action_data)void Process(ActionData action_data)References Class.Cast(), Class.Cast(), Class.Cast()
Show 11 more
, ActionBase.ClearInventoryReservationEx(), GameInventory.FindAttachment(), EntityAI.GetInventory(), ActionTarget.GetObject(), ItemBase.GetQuantity(), ItemBase.GetTargetQuantityMax(), PlayerBase.PredictiveTakeEntityToHands(), ItemBase.SplitIntoStackMaxHandsClient(), DetachActionData.m_AttSlot, ActionData.m_Player, and ActionData.m_TargetReferenced by OnExecute()