Enumerations | |
enum | ScreenWidthType { NARROW , MEDIUM , WIDE } |
Functions | |
void | InventoryMenu () |
override Widget | Init () |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system) | |
void | CheckWidth () |
static ScreenWidthType | GetWidthType () |
static int | GetWidth () |
static int | GetHeight () |
static float | GetHeightMultiplied (float value) |
void | RefreshQuickbar () |
override ContextMenu | GetContextMenu () |
void | InitContainers (EntityAI target) |
override void | Update (float timeslice) |
override void | Refresh () |
override void | OnShow () |
override bool | OnController (Widget w, int control, int value) |
bool | IsOpened () |
override void | OnHide () |
int | GetLastDisplayLanguage () |
bool | LanguageChanged () |
override void | OnPlayerDeath () |
Variables | |
enum ScreenWidthType | m_Inventory |
private ref ContextMenu | m_context_menu |
protected bool | m_IsOpened |
protected bool | m_OnlyFirstTime |
protected int | m_LastDisplayLanguage |
static protected ScreenWidthType | m_WidthType |
static protected int | m_Width |
static protected int | m_Height |
enum ScreenWidthType |
void CheckWidth | ( | ) |
References GetScreenSize(), m_Height, m_Width, and m_WidthType.
Referenced by InventoryMenu().
override ContextMenu GetContextMenu | ( | ) |
References m_context_menu.
Referenced by Icon::FlagAction(), ScriptedWidgetEventHandler::ShowActionMenu(), HandsContainer::ShowActionMenuCombine(), and Icon::ShowActionMenuCombine().
int GetLastDisplayLanguage | ( | ) |
References m_LastDisplayLanguage.
|
static |
References m_WidthType.
override Widget Init | ( | ) |
Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
whole body slots
upper body part slots
bottom body part slots
lower body part slots
heat comfort related slots
pre-init arrays
References m_context_menu, and m_Inventory.
void InitContainers | ( | EntityAI | target | ) |
void InventoryMenu | ( | ) |
References CheckWidth(), g_Game, Inventory(), m_context_menu, m_Inventory, and m_LastDisplayLanguage.
Referenced by AddQuickbarItem(), MissionBaseWorld::CreateScriptedMenu(), Icon::DestroyWhiteBackground(), PlayerContainer::DoubleClick(), VicinitySlotsContainer::DoubleClick(), ZombieContainer::DoubleClick(), MissionBase::InitInventory(), ScriptedWidgetEventHandler::InspectItem(), PlayerContainer::OnDropReceivedFromGhostArea(), VicinityContainer::OnDropReceivedFromHeader(), VicinityContainer::OnDropReceivedFromIcon(), MissionBase::OnEvent(), InventoryGridController::OnItemDrop(), InventoryGridController::OnItemDropReceived(), MissionBase::OnUpdate(), Icon::RefreshQuickbar(), Hud::RefreshQuickbar(), LeftArea::SetLayoutName(), RightArea::SetLayoutName(), Container::SetLayoutName(), CargoContainerRow::SetLayoutName(), Icon::SetLayoutName(), SlotsContainer::SetLayoutName(), SetLayoutName(), ClosableHeader::SetName(), Container::UpdateHeaderText(), and HandsArea::UpdateInterval().
bool IsOpened | ( | ) |
References m_IsOpened.
bool LanguageChanged | ( | ) |
References g_Game, and m_LastDisplayLanguage.
References m_Inventory, and m_IsOpened.
override void OnHide | ( | ) |
References GetGame(), ItemManager::GetInstance(), ItemManager::HideTooltip(), m_context_menu, m_Inventory, m_IsOpened, mission, ItemManager::SetItemMicromanagmentMode(), and ItemManager::SetSelectedItemEx().
Referenced by Container::Close(), ClosableContainer::Close(), ClosableContainer::LockCargo(), and Container::SetOpenState().
override void OnPlayerDeath | ( | ) |
References GetGame(), Mission::HideInventory(), and mission.
override void OnShow | ( | ) |
override void Refresh | ( | ) |
References m_Inventory.
void RefreshQuickbar | ( | ) |
References m_Inventory.
Referenced by UIScriptedMenu::ChangeCurrentCategory(), UIScriptedMenu::Init(), OnShow(), UIScriptedMenu::PrimaryAction(), Refresh(), and UIScriptedMenu::SecondaryAction().
override void Update | ( | float | timeslice | ) |
References m_Inventory.
private ref ContextMenu m_context_menu |
Referenced by GetContextMenu(), Init(), InventoryMenu(), and OnHide().
|
static |
Referenced by CheckWidth(), GetHeight(), and GetHeightMultiplied().
enum ScreenWidthType m_Inventory |
Referenced by Init(), InventoryMenu(), OnController(), OnHide(), OnShow(), Refresh(), RefreshQuickbar(), and Update().
protected bool m_IsOpened |
protected int m_LastDisplayLanguage |
Referenced by GetLastDisplayLanguage(), InventoryMenu(), and LanguageChanged().
protected bool m_OnlyFirstTime |
|
static |
Referenced by CheckWidth(), and GetWidth().
|
static |
Referenced by CheckWidth(), and GetWidthType().