DIFF

class MainMenuDataSource

Members 3

protected static ref JsonDataNewsList m_NewsData
Referenced by ClearAllDLCs(), CreateDLCArticles(), GetNewsArticle()
Show 2 more, GetNewsData(), and LoadMods()
protected static ref array<ref ModInfo> m_AllMods
protected static ref map<string, ref ModInfo> m_AllDlcsMap

Methods 8

static JsonDataNewsArticle GetNewsArticle(int index)
static void FilterDLCs(inout array<ref ModInfo> modArray)
Referenced by LoadMods()
static void ClearAllDLCs()

Temporary DLC entry for Badlands for the carousel promo on PC only. REMOVE AFTER MOD INFO HAS BEEN ADDED

static ModInfo GetDLCModInfoByName(string dlcName)

DLCs only

References map.Find(), and m_AllDlcsMap
static array<ref ModInfo> GetAllMods()

All mods including DLCs

References m_AllMods
Referenced by MainMenu.LoadMods()