DayZ Scripts
PC Stable Documentation
 
Loading...
Searching...
No Matches
MainMenuData Class Reference

Static Private Member Functions

static JsonDataNewsList GetNewsData ()
 
static JsonDataNewsArticle GetNewsArticle (int index)
 
static void LoadMods ()
 
static void FilterDLCs (inout array< ref ModInfo > modArray)
 
static void CreateDLCArticles ()
 
static void ClearAllDLCs ()
 
static ModInfo GetDLCModInfoByName (string dlcName)
 DLCs only.
 
static array< ref ModInfoGetAllMods ()
 All mods including DLCs.
 

Static Private Attributes

static protected ref JsonDataNewsList m_NewsData
 
static protected ref array< ref ModInfom_AllMods
 
static protected ref map< string, ref ModInfom_AllDlcsMap
 

Member Function Documentation

◆ ClearAllDLCs()

static void ClearAllDLCs ( )
inlinestaticprivate

References m_AllMods.

Referenced by UIScriptedMenu::OnDLCChange().

◆ CreateDLCArticles()

◆ FilterDLCs()

static void FilterDLCs ( inout array< ref ModInfo modArray)
inlinestaticprivate

◆ GetAllMods()

static array< ref ModInfo > GetAllMods ( )
inlinestaticprivate

All mods including DLCs.

References m_AllMods.

Referenced by UIScriptedMenu::LoadMods().

◆ GetDLCModInfoByName()

static ModInfo GetDLCModInfoByName ( string  dlcName)
inlinestaticprivate

DLCs only.

References m_AllDlcsMap.

Referenced by ShowPost(), and UpdateCarouselInfo().

◆ GetNewsArticle()

static JsonDataNewsArticle GetNewsArticle ( int  index)
inlinestaticprivate

◆ GetNewsData()

static JsonDataNewsList GetNewsData ( )
inlinestaticprivate

References m_NewsData.

Referenced by LoadMods(), and UpdateCarouselInfo().

◆ LoadMods()

static void LoadMods ( )
inlinestaticprivate

Field Documentation

◆ m_AllDlcsMap

protected ref map<string, ref ModInfo> m_AllDlcsMap
staticprivate

◆ m_AllMods

protected ref array<ref ModInfo> m_AllMods
staticprivate

Referenced by ClearAllDLCs(), GetAllMods(), and LoadMods().

◆ m_NewsData

protected ref JsonDataNewsList m_NewsData
staticprivate

The documentation for this class was generated from the following file: