PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
InventoryMenu.c File Reference

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
 

Enumeration Type Documentation

◆ ScreenWidthType

Enumerator
NARROW 
MEDIUM 
WIDE 

Function Documentation

◆ CheckWidth()

void CheckWidth ( )

References GetScreenSize(), m_Height, m_Width, and m_WidthType.

Referenced by InventoryMenu().

◆ GetContextMenu()

◆ GetHeight()

static int GetHeight ( )
static

References m_Height.

◆ GetHeightMultiplied()

static float GetHeightMultiplied ( float  value)
static

References m_Height.

◆ GetLastDisplayLanguage()

int GetLastDisplayLanguage ( )

References m_LastDisplayLanguage.

◆ GetWidth()

static int GetWidth ( )
static

References m_Width.

◆ GetWidthType()

static ScreenWidthType GetWidthType ( )
static

References m_WidthType.

◆ Init()

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.

◆ InitContainers()

void InitContainers ( EntityAI  target)

◆ InventoryMenu()

◆ IsOpened()

bool IsOpened ( )

References m_IsOpened.

◆ LanguageChanged()

bool LanguageChanged ( )

References g_Game, and m_LastDisplayLanguage.

◆ OnController()

override bool OnController ( Widget  w,
int  control,
int  value 
)

References m_Inventory, and m_IsOpened.

◆ OnHide()

◆ OnPlayerDeath()

override void OnPlayerDeath ( )

◆ OnShow()

◆ Refresh()

override void Refresh ( )

References m_Inventory.

◆ RefreshQuickbar()

◆ Update()

override void Update ( float  timeslice)

References m_Inventory.

Variable Documentation

◆ m_context_menu

private ref ContextMenu m_context_menu

◆ m_Height

protected int m_Height
static

◆ m_Inventory

◆ m_IsOpened

◆ m_LastDisplayLanguage

protected int m_LastDisplayLanguage

◆ m_OnlyFirstTime

protected bool m_OnlyFirstTime

◆ m_Width

protected int m_Width
static

Referenced by CheckWidth(), and GetWidth().

◆ m_WidthType

protected ScreenWidthType m_WidthType
static

Referenced by CheckWidth(), and GetWidthType().