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

◆ DumpParam()

void ScriptConsoleConfigTab::DumpParam ( string param,
string relativePath )
inlineprotected

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

263 {
264 if (relativePath)
265 {
266 relativePath = " " + relativePath;
267 }
268 for ( int i = 0; i < m_BaseConfigClassesToggled.Count(); i++ )
269 {
270 string config_path = m_BaseConfigClassesToggled.Get(i);
271
272 int objects_count = g_Game.ConfigGetChildrenCount( config_path );
273
274 for ( int j = 0; j < objects_count; j++ )
275 {
276 string child_name;
277 g_Game.ConfigGetChildName( config_path, j, child_name );
278
279
280 //string dispName;
281 //g_Game.ConfigGetText( config_path + " " + child_name + " displayName",dispName );
282 string value;
283 string path = config_path + " " + child_name + relativePath + " " + param;
284 if (g_Game.ConfigIsExisting(path))
285 {
286 g_Game.ConfigGetText( path , value);
287 if (value)
288 Print(child_name + "," + param + "," + value);
289 }
290
291
292 /*
293 int scope = g_Game.ConfigGetInt( config_path + " " + child_name + " scope" );
294 {
295 if ( scope == 2)
296 {
297
298 }
299 }*/
300 }
301 }
302 }
DayZGame g_Game
Определения DayZGame.c:3942
string path
Определения OptionSelectorMultistate.c:142
ref TStringArray m_BaseConfigClassesToggled
Определения ScriptConsoleConfigTab.c:11
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки g_Game, m_BaseConfigClassesToggled, path и Print().

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