class SlotsIconBase
SlotsIconBase › LayoutHolder › ScriptedWidgetEventHandler › Managed
Constructors 2
void SlotsIconBase(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)References InitIcon()
void ~SlotsIconBase()Members 40
protected static int m_NormalWidthprotected static int m_NormalHeightprotected bool m_IsWeapon = falseReferenced by CheckIsWeapon(), ClearRemainSelected(), Init()
Show 2 more
, Refresh(), and UpdateInterval()protected bool m_IsMagazine = falseprotected bool m_HasTemperature = falseprotected bool m_HasQuantity = falseReferenced by CheckHasQuantity(), ClearRemainSelected(), Init()
Show 2 more
, Refresh(), and UpdateInterval()protected bool m_HasItemSize = falseReferenced by SlotsIcon.CheckHasItemSize(), CheckHasItemSize(), ClearRemainSelected()
Show 3 more
, Init(), SetItemSize(), and UpdateInterval()protected float m_CurrQuantity = -1protected EntityAI m_ObjReferenced by SlotsIcon.CheckHasItemSize(), SlotsIcon.OnIconDrag(), ~SlotsIconBase()
Show 10 more
, CheckIsMagazine(), CheckIsWeapon(), ClearRemainSelected(), GetEntity(), GetObject(), Init(), InitIcon(), SetItemPreview(), SetItemSize(), and SetTemperature()protected ItemBase m_ItemReferenced by ConstructionMaterialInfoIcon.SetQuantity(), SlotsIcon.MouseEnter(), SlotsIcon.OnIconDrag()
Show 8 more
, CheckHasQuantity(), CheckHasTemperature(), ClearRemainSelected(), GetItem(), Init(), InitIcon(), SetQuantity(), and UpdateInterval()protected EntityAI m_SlotParentprotected Container m_ContainerReferenced by ClearRemainSelected(), GetContainer(), Init()
Show 2 more
, InitIcon(), and SetContainer()protected int m_SlotIDprotected bool m_IsDragged = falseReferenced by SlotsIcon.ClearRemainSelected(), SlotsIcon.OnIconDrag(), SlotsIcon.OnIconDrop()
Show 2 more
, ~SlotsIconBase(), and ClearRemainSelected()protected Widget m_PanelWidgetprotected Widget m_CursorWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), SlotsIcon.MouseEnter()
Show 5 more
, SlotsIcon.MouseLeave(), SlotsIcon.OnIconDrag(), SlotsIcon.OnIconDrop(), Clear(), and GetCursorWidget()protected Widget m_ColWidgetprotected Widget m_MountedWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 2 more
, GetMountedWidget(), and IsOutOfReach()protected Widget m_OutOfReachWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 2 more
, GetOutOfReachWidget(), and IsOutOfReach()protected Widget m_ReservedWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 2 more
, GetReservedWidget(), and Init()protected ItemPreviewWidget m_ItemPreviewprotected ImageWidget m_GhostSlotprotected Widget m_ColorWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 1 more
, GetColorWidget()protected Widget m_SelectedPanelReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.Clear(), SlotsIcon.InitIconWidgets()
Show 2 more
, GetSelectedPanel(), and SetActive()protected Widget m_EmptySelectedPanelprotected Widget m_MicromanagedPanelReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), and GetMicromanagedPanel()
protected Widget m_QuantityPanelprotected TextWidget m_QuantityItemprotected ProgressBarWidget m_QuantityProgressprotected Widget m_QuantityStackprotected string m_SlotDisplayNameReferenced by SlotsIcon.MouseEnterGhostSlot(), GetSlotDisplayName(), SetActive()
Show 1 more
, SetSlotDisplayName()protected string m_SlotDescReferenced by SlotsIcon.MouseEnterGhostSlot(), GetSlotDesc(), SetActive()
Show 1 more
, SetSlotDesc()protected Widget m_ItemSizePanelReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 2 more
, GetItemSizePanel(), and SetItemSize()protected TextWidget m_ItemSizeWidgetReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), GetItemSizeWidget()
Show 1 more
, SetItemSize()protected Widget m_RadialIconPanelReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), ClearRemainSelected()
Show 1 more
, GetRadialIconPanel()protected Widget m_RadialIconClosedReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), and GetRadialIconClosed()
protected Widget m_RadialIconprotected bool m_ReservedReferenced by SlotsIcon.MouseEnter(), SlotsIcon.MouseLeave(), Init()
Show 3 more
, InitIcon(), IsReserved(), and UpdateFlip()protected ImageWidget m_AmmoIconReferenced by GenericIconBase.InitIconWidgets(), SlotsIcon.InitIconWidgets(), CheckIsWeapon()
Show 3 more
, ClearRemainSelected(), GetAmmoIcon(), and RefreshMuzzleIcon()protected ref array<ImageWidget> m_AmmoIconsMethods 63
protected void InitIcon(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)References Widget.GetSize(), InitIconWidgets(), SetActive()
Show 20 more
, Widget.SetColor(), ItemPreviewWidget.SetForceFlip(), ItemPreviewWidget.SetForceFlipEnable(), Widget.SetUserData(), Widget.SetUserData(), Widget.SetUserData(), Widget.SetUserData(), Colors.COLOR_GHOST_ICON, m_Container, m_GhostSlot, m_Item, m_ItemPreview, LayoutHolder.m_MainWidget, m_NormalHeight, m_NormalWidth, m_Obj, m_PanelWidget, m_Reserved, m_SlotID, and m_SlotParentprotected void InitIconWidgets(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)override bool IsVisible()void SetSlotParent(EntityAI parent)References m_SlotParent
Referenced by PlayerContainer.SetPlayer()
void SetContainer(Container container)References m_Container
void SetSlotDisplayName(string text)References m_SlotDisplayName
Container GetContainer()References m_Container
void SetSlotDesc(string text)References m_SlotDesc
EntityAI GetSlotParent()References m_SlotParent
int GetSlotID()References m_SlotID
Referenced by AttachmentCategoriesRow.DraggingOverHeader(), AttachmentCategoriesRow.GetFocusedSlot(), AttachmentCategoriesRow.OnDropReceivedFromHeader()
Show 16 more
, AttachmentCategoriesRow.RefreshSlot(), AttachmentCategoriesRow.Select(), Attachments.GetFocusedSlot(), Attachments.Select(), ConstructionMaterialInfoIcon.CheckDisplayableAttachment(), ConstructionMaterialInfoIcon.ClearRemainSelected(), ContainerWithCargoAndAttachments.DraggingOverHeader(), ContainerWithCargoAndAttachments.MouseClick2(), ContainerWithCargoAndAttachments.TakeAsAttachment(), HandsContainer.DraggingOverHeader(), HandsContainer.TakeAsAttachment(), PlayerContainer.MouseClick(), PlayerContainer.OnDropReceivedFromGhostArea(), PlayerContainer.Select(), ClearRemainSelected(), and GetContextualSlotMax()bool IsReserved()References m_Reserved
Referenced by AttachmentCategoriesRow.OnDropReceivedFromHeader(), Attachments.Select(), Attachments.UpdateInterval()
Show 12 more
, ContainerWithCargoAndAttachments.DoubleClick(), ContainerWithCargoAndAttachments.DraggingOverHeader(), ContainerWithCargoAndAttachments.MouseClick2(), ContainerWithCargoAndAttachments.TakeAsAttachment(), PlayerContainer.DoubleClick(), PlayerContainer.DraggingOver(), PlayerContainer.ItemAttached(), PlayerContainer.MouseClick(), PlayerContainer.OnDropReceivedFromGhostArea(), PlayerContainer.Select(), SlotsContainer.GetFocusedItem(), and SlotsContainer.SelectItem()Widget GetPanelWidget()References m_PanelWidget
Referenced by AttachmentCategoriesRow.Init(), AttachmentCategoriesSlotsContainer.AttachmentCategoriesSlotsContainer(), Attachments.InitAttachmentGrid()
Show 10 more
, Attachments.UpdateInterval(), PlayerContainer.ExpandCollapseContainer(), PlayerContainer.ItemAttached(), PlayerContainer.PlayerContainer(), UpdateFlip(), VicinitySlotsContainer.RecomputeNumberOfContainers(), VicinitySlotsContainer.ShowItemsInContainers(), VicinitySlotsContainer.VicinitySlotsContainer(), ZombieContainer.InitGhostSlots(), and ZombieContainer.ItemAttached()Widget GetCursorWidget()References m_CursorWidget
Widget GetColWidget()References m_ColWidget
Widget GetReservedWidget()References m_ReservedWidget
Widget GetMountedWidget()References m_MountedWidget
ItemPreviewWidget GetRender()References m_ItemPreview
ImageWidget GetGhostSlot()References m_GhostSlot
Widget GetColorWidget()References m_ColorWidget
Widget GetSelectedPanel()References m_SelectedPanel
Widget GetEmptySelectedPanel()References m_EmptySelectedPanel
Widget GetMicromanagedPanel()References m_MicromanagedPanel
Widget GetQuantityPanel()References m_QuantityPanel
Widget GetOutOfReachWidget()References m_OutOfReachWidget
TextWidget GetQuantityItem()References m_QuantityItem
ProgressBarWidget GetQuantityProgress()References m_QuantityProgress
Widget GetQuantityStack()References m_QuantityStack
Widget GetItemSizePanel()References m_ItemSizePanel
TextWidget GetItemSizeWidget()References m_ItemSizeWidget
ImageWidget GetAmmoIcon()References m_AmmoIcon
Widget GetRadialIconPanel()References m_RadialIconPanel
Referenced by AttachmentCategoriesContainer.InitGhostSlots(), AttachmentCategoriesContainer.UpdateRadialIcon(), AttachmentCategoriesRow.RefreshSlot()
Show 13 more
, ClosableContainer.UpdateRadialIcon(), Container.UpdateRadialIcon(), ContainerWithCargo.Close(), ContainerWithCargo.Open(), ContainerWithCargo.UpdateInterval(), ContainerWithCargoAndAttachments.UpdateInterval(), PlayerContainer.ItemAttached(), PlayerContainer.UpdateRadialIcon(), SlotsContainer.VerifySlotsIconVisibility(), VicinitySlotsContainer.ShowItemsInContainers(), ZombieContainer.InitGhostSlots(), ZombieContainer.ItemAttached(), and ZombieContainer.UpdateRadialIcon()Widget GetRadialIconClosed()References m_RadialIconClosed
Widget GetRadialIcon()References m_RadialIcon
bool IsFocused()Referenced by SlotsIcon.HandleConsoleToolbar()
override void SetActive(bool active)Referenced by InitIcon()
override void SetLayoutName()References LayoutHolder.m_LayoutName
override void Refresh()References RefreshMuzzleIcon(), SetQuantity(), SetTemperature()
Show 2 more
, m_HasQuantity, and m_IsWeaponvoid SetTemperature()References Class.Cast(), ItemManager.GetInstance(), ItemManager.SetTemperature()
Show 2 more
, m_ItemPreview, and m_ObjObject GetObject()References m_Obj
Referenced by AttachmentCategoriesContainer.Close(), SlotsContainer.GetFocusedItem(), RefreshMuzzleIcon()
Show 1 more
, SetActive()EntityAI GetEntity()Referenced by AttachmentCategoriesRow.MouseClick(), AttachmentCategoriesRow.OnDropReceivedFromHeader(), AttachmentCategoriesRow.RefreshSlot()
Show 12 more
, Attachments.UpdateInterval(), ContainerWithCargoAndAttachments.DraggingOverHeader(), ContainerWithCargoAndAttachments.MouseClick2(), ContainerWithCargoAndAttachments.TakeAsAttachment(), HandsContainer.DraggingOverHeader(), HandsContainer.TakeAsAttachment(), PlayerContainer.DraggingOver(), PlayerContainer.MouseClick(), PlayerContainer.OnDropReceivedFromGhostArea(), PlayerContainer.Select(), ZombieContainer.MouseClick(), and ZombieContainer.ToggleContainer()void RefreshMuzzleIcon()void SetQuantity()References Object.ConfigGetInt(), QuantityConversions.GetItemQuantity(), QuantityConversions.GetItemQuantityMax()
Show 14 more
, QuantityConversions.GetItemQuantityText(), SimpleProgressBarWidget.GetMax(), ItemBase.GetQuantityMax(), QuantityConversions.HasItemQuantity(), Math.Round(), SimpleProgressBarWidget.SetCurrent(), TextWidget.SetText(), Widget.Show(), Widget.Show(), m_CurrQuantity, m_Item, m_QuantityItem, m_QuantityProgress, and m_QuantityStackvoid SetItemPreview()Referenced by Init()
void SetItemSize()References Class.Cast(), GetGame(), CGame.GetInventoryItemSize()
Show 7 more
, TextWidget.SetText(), Widget.Show(), ToString(), m_HasItemSize, m_ItemSizePanel, m_ItemSizeWidget, and m_ObjReferenced by UpdateInterval()
void UpdateFlip(bool flipped)References Class.Cast(), CheckHasItemSize(), CheckHasQuantity()
Show 26 more
, CheckHasTemperature(), CheckIsMagazine(), CheckIsWeapon(), ClearRemainSelected(), ItemManager.GetInstance(), EntityAI.GetOnItemFlipped(), EntityAI.GetOnViewIndexChanged(), HandleConsoleToolbar(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), Refresh(), SetItemPreview(), ItemManager.SetWidgetDraggable(), Widget.Show(), Widget.Show(), m_Container, m_HasItemSize, m_HasQuantity, m_HasTemperature, m_IsMagazine, m_IsWeapon, m_Item, m_Obj, m_PanelWidget, m_Reserved, and m_ReservedWidgetprotected void HandleConsoleToolbar()Referenced by Init()
void ClearRemainSelected()References CancelWidgetDragging(), string.Format(), GetContextualSlotMax()
Show 51 more
, ItemManager.GetInstance(), EntityAI.GetOnItemFlipped(), EntityAI.GetOnViewIndexChanged(), GetSlotID(), LayoutHolder.HideOwnedTooltip(), Refresh(), ScriptInvoker.Remove(), ScriptInvoker.Remove(), ItemPreviewWidget.SetItem(), TextWidget.SetText(), ItemManager.SetWidgetDraggable(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), Widget.Show(), int.ToString(), m_AmmoIcon, m_ColorWidget, m_ColWidget, m_Container, m_CurrQuantity, m_GhostSlot, m_HasItemSize, m_HasQuantity, m_HasTemperature, m_IsDragged, m_IsMagazine, m_IsWeapon, m_Item, m_ItemPreview, m_ItemSizePanel, m_MountedWidget, m_Obj, m_OutOfReachWidget, m_PanelWidget, m_QuantityItem, m_QuantityPanel, m_QuantityProgress, m_QuantityStack, m_RadialIconPanel, and m_ReservedWidgetReferenced by ConstructionMaterialInfoIcon.ClearRemainSelected(), SlotsIcon.ClearRemainSelected(), Clear()
Show 1 more
, Init()void Clear()References ClearRemainSelected(), Widget.Show(), Widget.Show()
Show 2 more
, m_CursorWidget, and m_EmptySelectedPanelvoid CheckIsWeapon()Referenced by Init()
void CheckHasTemperature()Referenced by Init()
void CheckHasQuantity()References QuantityConversions.HasItemQuantity(), Widget.Show(), m_HasQuantity
Show 2 more
, m_Item, and m_QuantityPanelReferenced by Init()
bool IsOutOfReach()Referenced by AttachmentCategoriesRow.CanCombine(), AttachmentCategoriesRow.Combine(), AttachmentCategoriesRow.DoubleClick()
Show 16 more
, AttachmentCategoriesRow.IsItemActive(), AttachmentCategoriesRow.IsItemWithQuantityActive(), AttachmentCategoriesRow.MouseClick(), AttachmentCategoriesRow.Select(), AttachmentCategoriesRow.TransferItem(), AttachmentCategoriesRow.TransferItemToVicinity(), Attachments.EquipItem(), Attachments.Select(), Attachments.SelectItem(), Attachments.SplitItem(), Attachments.TransferItem(), Attachments.TransferItemToVicinity(), SlotsContainer.SelectItem(), SlotsIcon.MouseEnter(), VicinitySlotsContainer.Select(), and ZombieContainer.Select()override void UpdateInterval()References RefreshMuzzleIcon(), SetItemSize(), SetQuantity()
Show 6 more
, SetTemperature(), m_HasItemSize, m_HasQuantity, m_HasTemperature, m_IsWeapon, and m_Itemstatic int GetNormalWidth()References m_NormalWidth
Referenced by ItemManager.CalculateTooltipSlotPosition()
static int GetNormalHeight()References m_NormalHeight
Referenced by ItemManager.CalculateTooltipSlotPosition()
protected int GetContextualSlotMax()Referenced by ClearRemainSelected()