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

◆ InitOptional()

void TypeAttachmentGroupData::InitOptional ( )
inlineprotected

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

43 {
44 m_Name = "";
45 m_IconPath = "set:dayz_inventory image:missing";
46 m_SelectionName = "";
47
49
50 if (g_Game.ConfigIsExisting("" + m_Path + " icon"))
51 g_Game.ConfigGetTextRaw("" + m_Path + " icon", m_IconPath);
52
53 if (g_Game.ConfigIsExisting("" + m_Path + " selection"))
54 g_Game.ConfigGetTextRaw("" + m_Path + " selection", m_SelectionName);
55 }
DayZGame g_Game
Определения DayZGame.c:4074
void RefreshLocalizedName()
Re-reads only the localized display name (safe to call on language change)
Определения TypeAttachmentGroupData.c:68
string m_SelectionName
in imageset format
Определения TypeAttachmentGroupData.c:12
string m_IconPath
Displayable, unlocalized name.
Определения TypeAttachmentGroupData.c:11

Перекрестные ссылки g_Game, m_IconPath, m_Name, m_Path, m_SelectionName и RefreshLocalizedName().

Используется в Init().