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

◆ DumpCurrentUILayout()

void MissionBaseWorld::DumpCurrentUILayout ( )
inlineprotected

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

379 {
380 UIScriptedMenu current_menu = g_Game.GetUIManager().GetMenu();
381
382 if ( current_menu )
383 {
384 Widget widget_root = current_menu.GetLayoutRoot();
385
386 if ( widget_root )
387 {
388 m_WidgetsTotal = 0;
390
391 Print( widget_root.GetName() +" ("+ widget_root.GetTypeName() +")");
392
393 DumpWidget(widget_root.GetChildren(), 1);
394
395 Print( "Widgets TOTAL: "+ m_WidgetsTotal.ToString() +" INVISIBLE: "+ m_WidgetsInvisible.ToString() +" VISIBLE: "+ (m_WidgetsTotal - m_WidgetsInvisible).ToString() );
396 }
397 }
398 }
DayZGame g_Game
Определения DayZGame.c:4074
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.
WorkspaceWidget Widget
Defined in code.

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