DIFF

class SlotsIconBase

SlotsIconBase › LayoutHolder › ScriptedWidgetEventHandler › Managed

Constructors 2

void SlotsIconBase(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
References InitIcon()

Members 40

protected static int m_NormalWidth
Referenced by GetNormalWidth(), and InitIcon()
protected static int m_NormalHeight
Referenced by GetNormalHeight(), and InitIcon()
protected bool m_IsWeapon = false
Referenced by CheckIsWeapon(), ClearRemainSelected(), Init()
Show 2 more, Refresh(), and UpdateInterval()
protected bool m_IsMagazine = false
protected bool m_HasTemperature = false
protected bool m_HasQuantity = false
Referenced by CheckHasQuantity(), ClearRemainSelected(), Init()
Show 2 more, Refresh(), and UpdateInterval()
protected bool m_HasItemSize = false
protected float m_CurrQuantity = -1
protected EntityAI m_SlotParent
protected Container m_Container
Referenced by ClearRemainSelected(), GetContainer(), Init()
Show 2 more, InitIcon(), and SetContainer()
protected int m_SlotID
protected bool m_IsDragged = false
protected Widget m_ReservedWidget
protected Widget m_SelectedPanel
protected string m_SlotDisplayName
protected string m_SlotDesc
protected TextWidget m_ItemSizeWidget
protected Widget m_RadialIconPanel
protected bool m_Reserved
protected ref array<ImageWidget> m_AmmoIcons

Methods 63

protected void InitIconWidgets(LayoutHolder parent, Widget root, int index, EntityAI slot_parent)
void SetSlotParent(EntityAI parent)
References m_SlotParent
string GetSlotDisplayName()
void SetSlotDesc(string text)
References m_SlotDesc
string GetSlotDesc()
References m_SlotDesc
Widget GetColWidget()
References m_ColWidget
Widget GetReservedWidget()
References m_ReservedWidget
Widget GetColorWidget()
References m_ColorWidget
Widget GetEmptySelectedPanel()
Widget GetQuantityPanel()
References m_QuantityPanel
TextWidget GetQuantityItem()
References m_QuantityItem
ProgressBarWidget GetQuantityProgress()
Widget GetQuantityStack()
References m_QuantityStack
Widget GetItemSizePanel()
References m_ItemSizePanel
TextWidget GetItemSizeWidget()
References m_ItemSizeWidget
ImageWidget GetAmmoIcon()
References m_AmmoIcon
override void SetLayoutName()
override void Refresh()
void SetTemperature()
Referenced by Refresh(), and UpdateInterval()
ItemBase GetItem()
References m_Item
void SetItemSize()
Referenced by UpdateInterval()
void UpdateFlip(bool flipped)
protected void HandleConsoleToolbar()
Referenced by Init()
void CheckIsMagazine()
Referenced by Init()
void CheckHasTemperature()
Referenced by Init()
void CheckHasQuantity()
Referenced by Init()
void CheckHasItemSize()
References m_HasItemSize
Referenced by Init()
static int GetNormalWidth()
References m_NormalWidth
static int GetNormalHeight()
References m_NormalHeight
protected int GetContextualSlotMax()
Referenced by ClearRemainSelected()