Data Structures | |
| class | UIScriptedMenu |
Enumerations | |
| enum | RadialQuickbarCategory { DEFAULT , SPECIALIZED_LIGHTS } |
Functions | |
| void | RadialQuickbarItem (int id, EntityAI item, string item_name, int category=RadialQuickbarCategory.DEFAULT, int category_switch=-1) |
| EntityAI | GetItem () |
| void | SetItem (EntityAI item) |
| bool | IsLightSourceExtra () |
| bool | IsNVGExtra () |
| int | GetId () |
| int | GetItemCategory () |
| int | GetCategorySwitchID () |
| Widget | GetRadialItemCard () |
| void | SetRadialItemCard (Widget widget) |
| string | GetItemName () |
Variables | |
| enum RadialQuickbarCategory | m_IsLightSourceExtra |
| protected bool | m_IsNVG |
| protected int | m_Id |
| protected int | m_Category |
| protected int | m_CategorySwitchID |
| protected EntityAI | m_Item |
| protected string | m_ItemName |
| protected Widget | m_RadialMenuSelector |
| protected Widget | m_RadialMenuItemCard |
| int GetCategorySwitchID | ( | ) |
References m_CategorySwitchID.
| EntityAI GetItem | ( | ) |
References m_Item.
Referenced by HandEventBase::CanPerformEvent(), InventoryItem::DamageItemInCargo(), ItemBase::GetStashedItem(), and ScriptedWidgetEventHandler::SetItemColor().
| int GetItemCategory | ( | ) |
References m_Category.
| string GetItemName | ( | ) |
References m_ItemName.
| Widget GetRadialItemCard | ( | ) |
References m_RadialMenuItemCard.
| bool IsLightSourceExtra | ( | ) |
References m_IsLightSourceExtra.
| void RadialQuickbarItem | ( | int | id, |
| EntityAI | item, | ||
| string | item_name, | ||
| int | category = RadialQuickbarCategory.DEFAULT, |
||
| int | category_switch = -1 |
||
| ) |
References m_Category, m_CategorySwitchID, m_Id, m_IsLightSourceExtra, m_IsNVG, m_Item, and m_ItemName.
Referenced by UIScriptedMenu::CheckForLightsAndNVG(), UIScriptedMenu::CreateContent(), UIScriptedMenu::GetItems(), UIScriptedMenu::MarkSelected(), UIScriptedMenu::PrimaryAction(), UIScriptedMenu::RefreshQuickbar(), and UIScriptedMenu::SecondaryAction().
| void SetRadialItemCard | ( | Widget | widget | ) |
References m_RadialMenuItemCard.
| protected int m_Category |
| protected int m_CategorySwitchID |
Referenced by GetCategorySwitchID(), and RadialQuickbarItem().
| protected int m_Id |
| enum RadialQuickbarCategory m_IsLightSourceExtra |
Referenced by IsLightSourceExtra(), and RadialQuickbarItem().
| protected bool m_IsNVG |
Referenced by IsNVGExtra(), and RadialQuickbarItem().
| protected EntityAI m_Item |
| protected string m_ItemName |
| protected Widget m_RadialMenuItemCard |
| protected Widget m_RadialMenuSelector |