DIFF

class AttachmentsSource

Constructors 2

Members 9

protected Container m_Parent
Referenced by Attachments(), InitAttachmentGrid(), InspectItem()
Show 2 more, IsActive(), and UpdateInterval()
protected EntityAI m_Entity
Referenced by ~Attachments(), Attachments(), InitAttachmentGrid()
Show 2 more, Select(), and UpdateInterval()
protected ref array<string> m_AttachmentSlotNames
protected ref array<string> m_AttachmentSlotDisplayable
Referenced by Attachments(), and UpdateInterval()
protected ref array<int> m_AttachmentIDOrdered
protected int m_RowIndex
Referenced by InitAttachmentGrid()
protected int m_AttachmentSlotID = -1

Methods 39

void SetDefaultFocus(bool while_micromanagment_mode = false)
void SetLastActive()
void SetActive(bool active)
void SelFirstActive()
int GetRecipeCount(bool recipe_anywhere, EntityAI entity1, EntityAI entity2)
void AttachmentRemoved(EntityAI item, string slot, EntityAI parent)
void OnAttachmentReservationSet(EntityAI item, int slot_id)
void OnAttachmentReservationRelease(EntityAI item, int slot_id)
void 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_RowIndex
void SetFalseAttachmentsHeaderText(string text)
void SetAttachmentSlotID(int slotID)