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

◆ Init()

void Init ( )
protected

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

60 {
61 string path = "cfgVehicles " + m_ParentType + " Doors";
62 string doorName;
63 string doorPath;
65 int count = g_Game.ConfigGetChildrenCount(path);
66 for (int doorIdx = 0; doorIdx < count; ++doorIdx)
67 {
68 g_Game.ConfigGetChildName(path, doorIdx, doorName);
69 doorPath = path + " " + doorName;
70
71 info = null;
72 if (g_Game.ConfigIsExisting(doorPath))
73 {
74 info = new AdditionalDoorInfo(doorName, doorPath);
75 info.Init();
76 }
77
78 m_DoorInfosMap.Set(doorIdx, info);
79 }
80 }
ref map< int, ref AdditionalDoorInfo > m_DoorInfosMap
Определения AdditionalDoorsInfo.c:52
class AdditionalDoorInfo m_ParentType
Holds infos for all doors on a single building type.
DayZGame g_Game
Определения DayZGame.c:4074
string path
Определения OptionSelectorMultistate.c:142
void Init()
Определения AdditionalDoorsInfo.c:21
Single door info.
Определения AdditionalDoorsInfo.c:3

Перекрестные ссылки g_Game, AdditionalDoorInfo::Init(), m_DoorInfosMap, m_ParentType и path.