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

◆ DumpCurrentUILayout()

void MissionBaseWorld::DumpCurrentUILayout ( )
inlineprotected

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

358 {
359 UIScriptedMenu current_menu = GetGame().GetUIManager().GetMenu();
360
361 if ( current_menu )
362 {
363 Widget widget_root = current_menu.GetLayoutRoot();
364
365 if ( widget_root )
366 {
367 m_WidgetsTotal = 0;
369
370 Print( widget_root.GetName() +" ("+ widget_root.GetTypeName() +")");
371
372 DumpWidget(widget_root.GetChildren(), 1);
373
374 Print( "Widgets TOTAL: "+ m_WidgetsTotal.ToString() +" INVISIBLE: "+ m_WidgetsInvisible.ToString() +" VISIBLE: "+ (m_WidgetsTotal - m_WidgetsInvisible).ToString() );
375 }
376 }
377 }
proto native UIManager GetUIManager()
int m_WidgetsInvisible
Определения missionBase.c:355
void DumpWidget(Widget w, int tabs)
Определения missionBase.c:379
int m_WidgetsTotal
Определения missionBase.c:354
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
WorkspaceWidget Widget
Defined in code.

Перекрестные ссылки DumpWidget(), GetGame(), UIManager::GetMenu(), CGame::GetUIManager(), m_WidgetsInvisible, m_WidgetsTotal и Print().