DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ WarnAndOpenStore()

static void ContentDLCStorePrompt::WarnAndOpenStore ( EDLCId dlcId)
inlinestaticprotected

Warns the player about the missing DLC, the store is opened once the warning is confirmed.

Аргументы
dlcIdID of the DLC the player does not own

См. определение в файле ContentDLCStorePrompt.c строка 13

14 {
15 if (!ContentDLC.IsValidDLCID(dlcId))
16 return;
17
18 // A previous warning may still be pending, in that case reuse its handler
19 if (!m_Instance)
20 m_Instance = new ContentDLCStorePrompt();
21
22 m_Instance.ShowWarning(dlcId);
23 }
static ref ContentDLCStorePrompt m_Instance
Определения ContentDLCStorePrompt.c:4

Перекрестные ссылки ContentDLC::IsValidDLCID() и m_Instance.

Используется в UIScriptedMenu::Play().