class AttachmentsSource
Constructors 2
void ~Attachments()Members 9
protected Container m_ParentReferenced by Attachments(), InitAttachmentGrid(), InspectItem()
Show 2 more
, IsActive(), and UpdateInterval()protected EntityAI m_EntityReferenced by ~Attachments(), Attachments(), InitAttachmentGrid()
Show 2 more
, Select(), and UpdateInterval()protected ref AttachmentsWrapper m_AttachmentsContainerprotected int m_RowIndexReferenced by InitAttachmentGrid()
protected int m_AttachmentSlotID = -1Methods 39
AttachmentsWrapper GetWrapper()References m_AttachmentsContainer
bool IsEmpty()bool IsItemActive()References ItemBase.CanBeSplit(), Class.Cast(), GetFocusedItem()
Show 2 more
, QuantityConversions.HasItemQuantity(), and IsEmpty()Referenced by AttachmentsWrapper.IsItemActive()
bool IsItemWithQuantityActive()References ItemBase.CanBeSplit(), Class.Cast(), GetFocusedItem()
Show 2 more
, QuantityConversions.HasItemQuantity(), and IsEmpty()Referenced by AttachmentsWrapper.IsItemWithQuantityActive()
void UnfocusAll()void SetDefaultFocus(bool while_micromanagment_mode = false)void SetLastActive()void SetActive(bool active)void SelFirstActive()SlotsIcon GetFocusedSlotsIcon()Referenced by EquipItem(), Select(), SelectItem()
Show 4 more
, SplitItem(), TransferItem(), TransferItemToVicinity(), and UpdateInterval()EntityAI GetFocusedItem()Referenced by CanCombine(), CanCombineAmmo(), CanEquip()
Show 10 more
, Combine(), EquipItem(), InspectItem(), IsItemActive(), IsItemWithQuantityActive(), Select(), SelectItem(), SplitItem(), TransferItem(), and TransferItemToVicinity()int GetFocusedSlot()Referenced by AttachmentsWrapper.GetFocusedSlot()
bool SelectItem()Referenced by AttachmentsWrapper.SelectItem()
bool Select()References GameInventory.CanAddAttachment(), GameInventory.CanAddAttachmentEx(), HumanInventory.CanAddEntityInHands()
Show 29 more
, GameInventory.CanRemoveEntity(), GameInventory.CanRemoveEntity(), GameInventory.CanRemoveEntity(), GameInventory.CanSwapEntitiesEx(), GameInventory.GetCurrentInventoryLocation(), Man.GetEntityInHands(), GetFocusedItem(), GetFocusedSlotsIcon(), Man.GetHumanInventory(), ItemManager.GetInstance(), EntityAI.GetInventory(), EntityAI.GetInventory(), EntityAI.GetInventory(), EntityAI.GetInventory(), CGame.GetPlayer(), ItemManager.GetSelectedIcon(), ItemManager.GetSelectedItem(), InventoryLocation.GetSlot(), SlotsIcon.GetSlotID(), AttachmentsOutOfReach.IsAttachmentReachable(), SlotsIcon.IsOutOfReach(), SlotsIcon.IsOutOfReach(), SlotsIcon.IsReserved(), Man.PredictiveSwapEntities(), Man.PredictiveTakeEntityToHands(), Man.PredictiveTakeEntityToTargetAttachment(), Man.PredictiveTakeEntityToTargetAttachmentEx(), ItemManager.SetSelectedItemEx(), and m_EntityReferenced by AttachmentsWrapper.Select()
References Class.Cast(), Class.Cast(), Class.Cast()
Show 3 more
, CGame.GetPlayer(), GetPlugin(), and PluginRecipesManager.GetValidRecipes()bool CanCombine()References Class.Cast(), ItemManager.GetCombinationFlags(), Man.GetEntityInHands()
Show 2 more
, GetFocusedItem(), and CGame.GetPlayer()Referenced by AttachmentsWrapper.CanCombine()
bool CanCombineAmmo()References ActionManagerClient.CanPerformActionFromInventory(), Class.Cast(), Class.Cast()
Show 5 more
, Class.CastTo(), PlayerBase.GetActionManager(), Man.GetEntityInHands(), GetFocusedItem(), and CGame.GetPlayer()Referenced by AttachmentsWrapper.CanCombineAmmo()
bool CanEquip()References Class.Cast(), GameInventory.FindFreeLocationFor(), GetFocusedItem()
Show 3 more
, EntityAI.GetInventory(), CGame.GetPlayer(), and Class.IsInherited()Referenced by AttachmentsWrapper.CanEquip()
bool Combine()Referenced by AttachmentsWrapper.Combine()
bool SplitItem()References Class.Cast(), GetFocusedItem(), GetFocusedSlotsIcon()
Show 4 more
, ItemBase.HasQuantity(), Class.IsInherited(), SlotsIcon.IsOutOfReach(), and ItemBase.OnRightClick()Referenced by AttachmentsWrapper.SplitItem()
bool EquipItem()Referenced by AttachmentsWrapper.EquipItem()
bool TransferItem()References GetFocusedItem(), GetFocusedSlotsIcon(), CGame.GetPlayer()
Show 2 more
, SlotsIcon.IsOutOfReach(), and Man.PredictiveTakeEntityToInventory()Referenced by AttachmentsWrapper.TransferItem()
bool InspectItem()Referenced by AttachmentsWrapper.InspectItem()
bool TransferItemToVicinity()Referenced by AttachmentsWrapper.TransferItemToVicinity()
bool IsActive()References Widget.FindAnyWidget(), Widget.GetAlpha(), LayoutHolder.GetMainWidget()
Show 1 more
, m_Parentint GetAttachmentHeight()void UpdateInterval()References EntityAI.CanDisplayAttachmentSlot(), GameInventory.CanRemoveEntity(), Class.Cast()
Show 37 more
, array.Clear(), Widget.ClearFlags(), array.Count(), array.Count(), map.Get(), ItemManager.GetDraggedItem(), SlotsIcon.GetEntity(), GetFocusedSlotsIcon(), EntityAI.GetHierarchyRoot(), ItemManager.GetInstance(), EntityAI.GetInventory(), EntityAI.GetInventory(), LayoutHolder.GetMainWidget(), SlotsIcon.GetMountedWidget(), SlotsIcon.GetOutOfReachWidget(), SlotsIcon.GetPanelWidget(), CGame.GetPlayer(), LayoutHolder.GetRootWidget(), InventorySlots.GetSlotIdFromString(), GameInventory.GetSlotLock(), array.Insert(), AttachmentsOutOfReach.IsAttachmentReachable(), SlotsIcon.IsReserved(), SetDefaultFocus(), Widget.SetFlags(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Update(), SlotsIcon.UpdateInterval(), Container.UpdateRadialIcon(), m_AttachmentsContainer, m_AttachmentSlotDisplayable, m_AttachmentSlotNames, m_AttachmentSlots, m_Entity, and m_ParentReferences m_AttachmentIDOrdered
References map.Get(), InventorySlots.GetSlotDisplayName(), InventorySlots.GetSlotIdFromString()
Show 4 more
, SlotsIcon.Init(), SlotsIcon.SetSlotDisplayName(), SlotsIcon.SetSlotID(), and m_AttachmentSlotsReferenced by InitAttachmentGrid()
References SlotsIcon.Clear(), map.Get(), InventorySlots.GetSlotIdFromString()
Show 1 more
, m_AttachmentSlotsvoid InitAttachmentGrid(int att_row_index)References AttachmentAdded(), new AttachmentsWrapper(), EntityAI.CanDisplayAttachmentSlot()
Show 54 more
, Class.Cast(), Math.Ceil(), SlotsIcon.Clear(), CGame.ConfigGetText(), array.Count(), GameInventory.FindAttachment(), Container.Get(), Object.GetDisplayName(), SlotsIcon.GetGhostSlot(), WidgetEventHandler.GetInstance(), EntityAI.GetInventory(), LayoutHolder.GetMainWidget(), LayoutHolder.GetMainWidget(), SlotsIcon.GetPanelWidget(), Widget.GetParent(), LayoutHolder.GetRootWidget(), LayoutHolder.GetRootWidget(), InventorySlots.GetSlotDisplayName(), SlotsContainer.GetSlotIcon(), SlotsContainer.GetSlotIcon(), SlotsContainer.GetSlotIcon(), InventorySlots.GetSlotIdFromString(), array.Insert(), Container.Insert(), map.Insert(), Container.Insert(), Class.IsInherited(), ImageWidget.LoadImageFile(), Container.RecomputeOpenedContainers(), WidgetEventHandler.RegisterOnDoubleClick(), WidgetEventHandler.RegisterOnDraggingOver(), WidgetEventHandler.RegisterOnDropReceived(), WidgetEventHandler.RegisterOnMouseButtonDown(), Container.SetColumnCount(), AttachmentsWrapper.SetFalseAttachmentsHeaderText(), AttachmentsWrapper.SetParent(), SlotsIcon.SetSlotDisplayName(), SlotsIcon.SetSlotID(), Widget.SetSort(), Widget.Show(), Widget.Show(), new SlotsContainer(), string.ToUpper(), Widget.Update(), Widget.Update(), StaticGUIUtils.VerifyIconImageString(), StaticGUIUtils.IMAGESETGROUP_INVENTORY, m_AttachmentIDOrdered, m_AttachmentsContainer, m_AttachmentSlotNames, m_AttachmentSlots, m_Entity, m_Parent, and m_RowIndexReferences Object.ConfigGetBool(), CGame.ConfigGetTextArray(), Object.ConfigIsExisting()
Show 7 more
, CGame.ConfigIsExisting(), array.Count(), array.Get(), Object.GetType(), array.Insert(), array.Insert(), and Object.IsWeapon()Referenced by Attachments()
void ShowFalseAttachmentsHeader(bool show)void SetFalseAttachmentsHeaderText(string text)TextWidget GetFalseHeaderTextWidget()void SetAttachmentSlotID(int slotID)References m_AttachmentSlotID
Referenced by ContainerWithCargoAndAttachments.AttachmentAddedEx()
int GetAttachmentSlotID()References m_AttachmentSlotID
Referenced by ContainerWithCargoAndAttachments.RecomputeContainers()