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

◆ Init()

static void SoundSetMap::Init ( )
inlinestaticprivate

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

7 {
8 string path = "CfgSoundSets";
9
10 int soundCount = g_Game.ConfigGetChildrenCount(path);
11
12 for (int i = 1; i < soundCount; i++)
13 {
14 string soundClassName;
15 g_Game.ConfigGetChildName(path, i, soundClassName);
16 m_SoundSetMapIDByID.Insert(i,soundClassName);
17 m_SoundSetMapIDByName.Insert(soundClassName,i);
18 //PrintString(soundClassName);
19 }
20 }
DayZGame g_Game
Определения DayZGame.c:3942
string path
Определения OptionSelectorMultistate.c:142
static ref map< int, string > m_SoundSetMapIDByID
Определения SoundSetMap.c:3
static ref map< string, int > m_SoundSetMapIDByName
Определения SoundSetMap.c:4

Перекрестные ссылки g_Game, m_SoundSetMapIDByID, m_SoundSetMapIDByName и path.

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