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

◆ UpdateMenuFocus()

void UIScriptedMenu::UpdateMenuFocus ( )
inlineprotected

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

841 {
842 Man player = GetGame().GetPlayer();
843 if (m_PlayerAlive)
844 {
845 if (ShouldRestartBeVisible(player))
847 else
849 }
850 else
851 {
853 }
854 }
proto native DayZPlayer GetPlayer()
Widget m_ContinueButton
Определения InGameMenu.c:5
bool m_PlayerAlive
Определения InGameMenuXbox.c:16
Widget m_RestartButton
Определения InGameMenu.c:8
ButtonWidget m_RestartDeadButton
Определения InGameMenuXbox.c:26
bool ShouldRestartBeVisible(Man player)
Определения InGameMenuXbox.c:508
proto native CGame GetGame()
proto native void SetFocus(Widget w)

Перекрестные ссылки GetGame(), CGame::GetPlayer(), m_ContinueButton, m_PlayerAlive, m_RestartButton, m_RestartDeadButton, SetFocus() и ShouldRestartBeVisible().

Используется в Init(), OnInputDeviceChanged(), OnModalResult(), OnShow(), ToggleFeedbackDialog() и UpdateGUI().