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

◆ DumpWidget()

void MissionBaseWorld::DumpWidget ( Widget w,
int tabs )
inlineprotected

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

401 {
402 if ( !w )
403 {
404 return;
405 }
406
408
409 string tmp;
410 for (int i = 0; i < tabs; i++)
411 {
412 tmp += " ";
413 }
414
415 string invisible = "";
416
417 if ( !w.IsVisibleHierarchy() )
418 {
419 invisible = "[invisible]";
421 }
422
423 Print( tmp +"- "+ w.GetName() +" ("+ w.GetTypeName() +") "+ invisible );
424
425 bool collapse = false;
426 if ( w.GetChildren() )
427 {
428 collapse = true;
429 Print(tmp +"{");
430 }
431
432 DumpWidget(w.GetChildren(), tabs + 1);
433
434 if ( collapse )
435 {
436 Print(tmp +"}");
437 }
438
439 DumpWidget(w.GetSibling(), tabs);
440 }
int m_WidgetsInvisible
Определения missionBase.c:376
void DumpWidget(Widget w, int tabs)
Определения missionBase.c:400
int m_WidgetsTotal
Определения missionBase.c:375
proto void Print(void var)
Prints content of variable to console/log.

Перекрестные ссылки DumpWidget(), m_WidgetsInvisible, m_WidgetsTotal и Print().

Используется в DumpCurrentUILayout() и DumpWidget().