См. определение в файле UndergroundAreaLoader.c строка 57
58 {
60 {
61
62 PrintToRPT(
"[WARNING] :: [UndergroundAreaLoader GetData()] :: file not found in MISSION folder, your path is " +
m_Path +
" Attempting DATA folder");
63
64 string worldName;
66 m_Path =
string.Format(
"dz/worlds/%1/ce/cfgundergroundtriggers.json", worldName);
67
69 {
70 PrintToRPT(
"[WARNING] :: [UndergroundAreaLoader GetData()] ::file not found in DATA folder, your path is " +
m_Path);
71 return null;
72 }
73 }
74
75 string errorMessage;
76 JsonUndergroundTriggers data;
77 if (!JsonFileLoader<JsonUndergroundTriggers>.LoadFile(
m_Path, data, errorMessage))
79
80 return data;
81 }
proto void GetWorldName(out string world_name)
proto native CGame GetGame()
proto void PrintToRPT(void var)
Prints content of variable to RPT file (performance warning - each write means fflush!...
proto bool FileExist(string name)
Check existence of file.
Перекрестные ссылки ErrorEx, FileExist(), GetGame(), CGame::GetWorldName(), m_Path и PrintToRPT().
Используется в SpawnAllTriggerCarriers().