class SlotsIconSource
SlotsIcon › LayoutHolder › ScriptedWidgetEventHandler › Managed
All members, including inherited
Constructors 2
void SlotsIcon(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)References Class.Cast(), Class.Cast(), Class.Cast()
Show 50 more
, Class.Cast(), Class.Cast(), WorkspaceWidget.CreateWidgets(), Widget.FindAnyWidget(), WidgetEventHandler.GetInstance(), Widget.GetSize(), CGame.GetWorkspace(), WidgetEventHandler.RegisterOnDrag(), WidgetEventHandler.RegisterOnDrop(), WidgetEventHandler.RegisterOnMouseEnter(), WidgetEventHandler.RegisterOnMouseLeave(), SetActive(), ItemPreviewWidget.SetForceFlip(), ItemPreviewWidget.SetForceFlipEnable(), Widget.SetUserData(), Widget.SetUserData(), Widget.SetUserData(), Widget.SetUserData(), Widget.Show(), m_AmmoIcon, m_ColorWidget, m_ColWidget, m_Container, m_CursorWidget, m_EmptySelectedPanel, m_GhostSlot, m_Item, m_ItemPreview, m_ItemSizePanel, m_ItemSizeWidget, LayoutHolder.m_MainWidget, m_MicromanagedPanel, m_MountedWidget, m_NormalHeight, m_NormalWidth, m_Obj, m_OutOfReachWidget, m_PanelWidget, m_QuantityItem, m_QuantityPanel, m_QuantityProgress, m_QuantityStack, m_RadialIcon, m_RadialIconClosed, m_RadialIconPanel, m_Reserved, m_ReservedWidget, m_SelectedPanel, m_SlotID, and m_SlotParentReferenced by SlotsContainer.SlotsContainer()
void ~SlotsIcon()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 CheckHasItemSize(), ClearRemainSelected(), Init()
Show 2 more
, SetItemSize(), and UpdateInterval()protected float m_CurrQuantity = -1protected EntityAI m_ObjReferenced by ~SlotsIcon(), CheckHasItemSize(), CheckIsMagazine()
Show 10 more
, CheckIsWeapon(), ClearRemainSelected(), GetEntity(), GetObject(), Init(), OnIconDrag(), SetItemPreview(), SetItemSize(), SetTemperature(), and SlotsIcon()protected ItemBase m_ItemReferenced by CheckHasQuantity(), CheckHasTemperature(), ClearRemainSelected()
Show 7 more
, GetItem(), Init(), MouseEnter(), OnIconDrag(), SetQuantity(), SlotsIcon(), and UpdateInterval()protected EntityAI m_SlotParentprotected Container m_ContainerReferenced by ClearRemainSelected(), GetContainer(), Init()
Show 2 more
, SetContainer(), and SlotsIcon()protected int m_SlotIDprotected bool m_IsDragged = falseprotected Widget m_PanelWidgetReferenced by ClearRemainSelected(), GetPanelWidget(), Init()
Show 5 more
, MouseEnter(), MouseEnterGhostSlot(), MouseLeave(), MouseLeaveGhostSlot(), and SlotsIcon()protected Widget m_CursorWidgetReferenced by Clear(), GetCursorWidget(), MouseEnter()
Show 4 more
, MouseLeave(), OnIconDrag(), OnIconDrop(), and SlotsIcon()protected Widget m_ColWidgetReferenced by ClearRemainSelected(), GetColWidget(), OnIconDrag()
Show 2 more
, OnIconDrop(), and SlotsIcon()protected Widget m_MountedWidgetprotected Widget m_OutOfReachWidgetprotected Widget m_ReservedWidgetprotected ItemPreviewWidget m_ItemPreviewReferenced by ClearRemainSelected(), GetRender(), OnIconDrag()
Show 4 more
, OnIconDrop(), SetItemPreview(), SetTemperature(), and SlotsIcon()protected ImageWidget m_GhostSlotprotected Widget m_ColorWidgetprotected Widget m_SelectedPanelprotected Widget m_EmptySelectedPanelReferenced by Clear(), GetEmptySelectedPanel(), MouseEnterGhostSlot()
Show 3 more
, MouseLeaveGhostSlot(), OnIconDrop(), and SlotsIcon()protected Widget m_MicromanagedPanelprotected Widget m_QuantityPanelReferenced by CheckHasQuantity(), ClearRemainSelected(), GetQuantityPanel()
Show 1 more
, SlotsIcon()protected TextWidget m_QuantityItemprotected ProgressBarWidget m_QuantityProgressprotected Widget m_QuantityStackprotected string m_SlotDisplayNameReferenced by GetSlotDisplayName(), MouseEnterGhostSlot(), SetActive()
Show 1 more
, SetSlotDisplayName()protected string m_SlotDescprotected Widget m_ItemSizePanelprotected TextWidget m_ItemSizeWidgetprotected Widget m_RadialIconPanelprotected Widget m_RadialIconClosedprotected Widget m_RadialIconprotected bool m_ReservedReferenced by Init(), IsReserved(), MouseEnter()
Show 3 more
, MouseLeave(), SlotsIcon(), and UpdateFlip()protected ImageWidget m_AmmoIconReferenced by CheckIsWeapon(), ClearRemainSelected(), GetAmmoIcon()
Show 2 more
, RefreshMuzzleIcon(), and SlotsIcon()protected ref array<ImageWidget> m_AmmoIconsMethods 65
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 13 more
, AttachmentCategoriesRow.RefreshSlot(), AttachmentCategoriesRow.Select(), Attachments.GetFocusedSlot(), Attachments.Select(), ContainerWithCargoAndAttachments.DraggingOverHeader(), ContainerWithCargoAndAttachments.MouseClick2(), ContainerWithCargoAndAttachments.TakeAsAttachment(), HandsContainer.DraggingOverHeader(), HandsContainer.TakeAsAttachment(), PlayerContainer.MouseClick(), PlayerContainer.OnDropReceivedFromGhostArea(), PlayerContainer.Select(), and ClearRemainSelected()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
override void SetActive(bool active)Referenced by SlotsIcon()
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()References Class.Cast(), EntityAI.GetViewIndex(), ItemPreviewWidget.SetItem()
Show 5 more
, ItemPreviewWidget.SetModelOrientation(), ItemPreviewWidget.SetView(), Widget.Show(), m_ItemPreview, and m_ObjReferenced by Init()
void SetItemSize()References Class.Cast(), CGame.GetInventoryItemSize(), TextWidget.SetText()
Show 6 more
, Widget.Show(), ToString(), m_HasItemSize, m_ItemSizePanel, m_ItemSizeWidget, and m_ObjReferenced by UpdateInterval()
void UpdateFlip(bool flipped)References Class.Cast(), CheckHasItemSize(), CheckHasQuantity()
Show 30 more
, CheckHasTemperature(), CheckIsMagazine(), CheckIsWeapon(), ClearRemainSelected(), Inventory.GetInstance(), ItemManager.GetInstance(), EntityAI.GetOnItemFlipped(), EntityAI.GetOnViewIndexChanged(), ScriptInvoker.Insert(), ScriptInvoker.Insert(), IsFocused(), Refresh(), SetItemPreview(), ItemManager.SetWidgetDraggable(), Widget.Show(), Widget.Show(), Widget.Show(), Inventory.UpdateConsoleToolbar(), m_Container, m_GhostSlot, m_HasItemSize, m_HasQuantity, m_HasTemperature, m_IsMagazine, m_IsWeapon, m_Item, m_Obj, m_PanelWidget, m_Reserved, and m_ReservedWidgetvoid ClearRemainSelected()References CancelWidgetDragging(), string.Format(), ItemManager.GetInstance()
Show 52 more
, EntityAI.GetOnItemFlipped(), EntityAI.GetOnViewIndexChanged(), GetSlotID(), InventorySlots.GetStackMaxForSlotId(), LayoutHolder.HideOwnedTooltip(), OnIconDrop(), 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_ReservedWidgetvoid Clear()References ClearRemainSelected(), Widget.Show(), Widget.Show()
Show 4 more
, Widget.Show(), m_CursorWidget, m_EmptySelectedPanel, and m_SelectedPanelReferenced by AttachmentCategoriesRow.Init(), AttachmentCategoriesRow.RefreshSlot(), Attachments.AttachmentRemoved()
Show 9 more
, Attachments.InitAttachmentGrid(), Attachments.OnAttachmentReservationRelease(), PlayerContainer.ItemDetached(), PlayerContainer.OnAttachmentReservationRelease(), PlayerContainer.PlayerContainer(), PlayerContainer.SetPlayer(), VicinitySlotsContainer.ShowItemsInContainers(), ZombieContainer.InitGhostSlots(), and ZombieContainer.ItemDetached()void 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()
void CheckHasItemSize()References Class.Cast(), CGame.ConfigIsExisting(), Object.GetType()
Show 2 more
, m_HasItemSize, and m_ObjReferenced 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(), MouseEnter(), VicinitySlotsContainer.Select(), and ZombieContainer.Select()References GetDragWidget(), IsOutOfReach(), MouseEnterGhostSlot()
Show 6 more
, LayoutHolder.PrepareOwnedTooltip(), Widget.Show(), m_CursorWidget, m_Item, m_PanelWidget, and m_ReservedReferences GetDragWidget(), Widget.GetScreenPos(), LayoutHolder.PrepareOwnedSlotsTooltip()
Show 6 more
, Widget.Show(), m_EmptySelectedPanel, LayoutHolder.m_MainWidget, m_PanelWidget, m_SlotDesc, and m_SlotDisplayNameReferenced by MouseEnter()
References GetDragWidget(), LayoutHolder.HideOwnedTooltip(), MouseLeaveGhostSlot()
Show 4 more
, Widget.Show(), m_CursorWidget, m_PanelWidget, and m_ReservedReferences GetDragWidget(), LayoutHolder.HideOwnedSlotsTooltip(), Widget.Show()
Show 2 more
, m_EmptySelectedPanel, and m_PanelWidgetReferenced by MouseLeave()
override void UpdateInterval()References RefreshMuzzleIcon(), SetItemSize(), SetQuantity()
Show 6 more
, SetTemperature(), m_HasItemSize, m_HasQuantity, m_HasTemperature, m_IsWeapon, and m_Itemvoid OnIconDrag(Widget w)References Class.Cast(), Class.Cast(), Widget.FindAnyWidget()
Show 27 more
, GameInventory.GetFlipCargo(), EntityAI.GetHierarchyRootPlayer(), ItemManager.GetInstance(), EntityAI.GetInventory(), CGame.GetInventoryItemSize(), ItemManager.GetLeftDropzone(), CGame.GetPlayer(), ItemManager.GetRightDropzone(), LayoutHolder.GetRoot(), Widget.GetScreenSize(), ItemManager.HideDropzones(), Widget.SetAlpha(), Widget.SetAlpha(), ItemManager.SetDraggedItem(), Widget.SetFlags(), ItemPreviewWidget.SetForceFlipEnable(), ItemManager.SetIsDragging(), Widget.SetSize(), Widget.Show(), Widget.Show(), m_ColWidget, m_CursorWidget, m_IsDragged, m_Item, m_ItemPreview, m_Obj, and LayoutHolder.m_Parentvoid OnIconDrop(Widget w)Referenced by ClearRemainSelected()
static int GetNormalWidth()References m_NormalWidth
Referenced by ItemManager.CalculateTooltipSlotPosition()
static int GetNormalHeight()References m_NormalHeight
Referenced by ItemManager.CalculateTooltipSlotPosition()