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

◆ UpdateMenuFocus()

void UIScriptedMenu::UpdateMenuFocus ( )
inlineprotected

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

967 {
968 Man player = g_Game.GetPlayer();
969 if (m_PlayerAlive)
970 {
971 if (ShouldRestartBeVisible(player))
972 {
974 }
975 else
976 {
978 }
979 }
980 else
981 {
983 }
984 }
DayZGame g_Game
Определения DayZGame.c:4074
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:596
proto native void SetFocus(Widget w)

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

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