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

◆ DumpWidget()

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

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

380 {
381 if ( !w )
382 {
383 return;
384 }
385
387
388 string tmp;
389 for (int i = 0; i < tabs; i++)
390 {
391 tmp += " ";
392 }
393
394 string invisible = "";
395
396 if ( !w.IsVisibleHierarchy() )
397 {
398 invisible = "[invisible]";
400 }
401
402 Print( tmp +"- "+ w.GetName() +" ("+ w.GetTypeName() +") "+ invisible );
403
404 bool collapse = false;
405 if ( w.GetChildren() )
406 {
407 collapse = true;
408 Print(tmp +"{");
409 }
410
411 DumpWidget(w.GetChildren(), tabs + 1);
412
413 if ( collapse )
414 {
415 Print(tmp +"}");
416 }
417
418 DumpWidget(w.GetSibling(), tabs);
419 }
int m_WidgetsInvisible
Определения missionBase.c:355
void DumpWidget(Widget w, int tabs)
Определения missionBase.c:379
int m_WidgetsTotal
Определения missionBase.c:354
proto void Print(void var)
Prints content of variable to console/log.

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

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