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

◆ UpdateMenuFocus()

void UIScriptedMenu::UpdateMenuFocus ( )
inlineprotected

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

962 {
963 Man player = g_Game.GetPlayer();
964 if (m_PlayerAlive)
965 {
966 if (ShouldRestartBeVisible(player))
967 {
969 }
970 else
971 {
973 }
974 }
975 else
976 {
978 }
979 }
DayZGame g_Game
Определения DayZGame.c:3942
Widget m_ContinueButton
Определения InGameMenu.c:5
bool m_PlayerAlive
Определения InGameMenuXbox.c:16
Widget m_RestartButton
Определения InGameMenu.c:8
ButtonWidget m_RestartDeadButton
Определения InGameMenuXbox.c:29
bool ShouldRestartBeVisible(Man player)
Определения InGameMenuXbox.c:604
proto native void SetFocus(Widget w)

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

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