Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
MainMenuData Class Reference

Static Protected Member Functions

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

Static Protected Attributes

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

Detailed Description

Definition at line 1 of file mainmenudata.c.

Member Function Documentation

◆ ClearAllDLCs()

void ClearAllDLCs ( )
inlinestaticprotected

Definition at line 122 of file mainmenudata.c.

References m_AllDlcsMap, m_AllMods, and m_NewsData.

Referenced by UIScriptedMenu::OnDLCChange().

◆ CreateDLCArticles()

void CreateDLCArticles ( )
inlinestaticprotected

◆ FilterDLCs()

void FilterDLCs ( inout array< ref ModInfo > modArray)
inlinestaticprotected

◆ GetAllMods()

array< ref ModInfo > GetAllMods ( )
inlinestaticprotected

All mods including DLCs.

Definition at line 138 of file mainmenudata.c.

References m_AllMods.

Referenced by UIScriptedMenu::LoadMods().

◆ GetDLCModInfoByName()

ModInfo GetDLCModInfoByName ( string dlcName)
inlinestaticprotected

DLCs only.

Definition at line 130 of file mainmenudata.c.

References m_AllDlcsMap.

Referenced by ShowPost(), and UpdateCarouselInfo().

◆ GetNewsArticle()

JsonDataNewsArticle GetNewsArticle ( int index)
inlinestaticprotected

Definition at line 15 of file mainmenudata.c.

References ErrorEx, and m_NewsData.

◆ GetNewsData()

JsonDataNewsList GetNewsData ( )
inlinestaticprotected

Definition at line 7 of file mainmenudata.c.

References m_NewsData.

Referenced by LoadMods(), and UpdateCarouselInfo().

◆ LoadMods()

void LoadMods ( )
inlinestaticprotected

Definition at line 29 of file mainmenudata.c.

References CreateDLCArticles(), FilterDLCs(), g_Game, GetNewsData(), m_AllMods, and m_NewsData.

Referenced by UIScriptedMenu::LoadMods().

Field Documentation

◆ m_AllDlcsMap

ref map<string, ref ModInfo> m_AllDlcsMap
staticprotected

Definition at line 5 of file mainmenudata.c.

Referenced by ClearAllDLCs(), CreateDLCArticles(), FilterDLCs(), and GetDLCModInfoByName().

◆ m_AllMods

ref array<ref ModInfo> m_AllMods
staticprotected

Definition at line 4 of file mainmenudata.c.

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

◆ m_NewsData

ref JsonDataNewsList m_NewsData
staticprotected

Definition at line 3 of file mainmenudata.c.

Referenced by ClearAllDLCs(), CreateDLCArticles(), GetNewsArticle(), GetNewsData(), and LoadMods().


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