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

◆ DumpParam()

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

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

265 {
266 if (relativePath)
267 {
268 relativePath = " " + relativePath;
269 }
270 for ( int i = 0; i < m_BaseConfigClassesToggled.Count(); i++ )
271 {
272 string config_path = m_BaseConfigClassesToggled.Get(i);
273
274 int objects_count = g_Game.ConfigGetChildrenCount( config_path );
275
276 for ( int j = 0; j < objects_count; j++ )
277 {
278 string child_name;
279 g_Game.ConfigGetChildName( config_path, j, child_name );
280
281
282 //string dispName;
283 //g_Game.ConfigGetText( config_path + " " + child_name + " displayName",dispName );
284 string value;
285 string path = config_path + " " + child_name + relativePath + " " + param;
286 if (g_Game.ConfigIsExisting(path))
287 {
288 g_Game.ConfigGetText( path , value);
289 if (value)
290 Print(child_name + "," + param + "," + value);
291 }
292
293
294 /*
295 int scope = g_Game.ConfigGetInt( config_path + " " + child_name + " scope" );
296 {
297 if ( scope == 2)
298 {
299
300 }
301 }*/
302 }
303 }
304 }
DayZGame g_Game
Определения DayZGame.c:4074
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().