6 private static ResourceName m_sPrimaryWeaponSlot =
"{CDE4B2BF08F5EA5F}UI/Textures/InventoryIcons/InvenorySlot-Primary_UI.edds";
7 private static ResourceName m_sSecondaryWeaponSlot =
"{D08526F28B9ACAB9}UI/Textures/InventoryIcons/InvenorySlot-Secondary_UI.edds";
8 private static ResourceName m_sGrenadeWeaponSlot =
"{E841B37EB8382114}UI/Textures/InventoryIcons/InvenorySlot-Grenade_UI.edds";
10 protected string m_sWeaponSlotType;
11 protected ImageWidget m_wGamepadHintSmall;
12 protected ImageWidget m_wGamepadHintLarge;
13 protected int m_iWeaponSlotIndex;
24 if (m_sWeaponSlotType ==
"primary")
25 SetIcon(m_sPrimaryWeaponSlot);
26 else if (m_sWeaponSlotType ==
"secondary")
27 SetIcon(m_sSecondaryWeaponSlot);
28 else if (m_sWeaponSlotType ==
"grenade")
29 SetIcon(m_sGrenadeWeaponSlot);
34 override string SetSlotSize()
39 if (m_sWeaponSlotType ==
"primary")
54 int GetWeaponSlotIndex()
56 return m_iWeaponSlotIndex;
64 m_iQuickSlotIndex = iSlotIndex;
65 m_iWeaponSlotIndex = iWeaponSlotIndex;
66 m_sWeaponSlotType = sWeaponSlotType;
68 UpdateReferencedComponent( pComponent );