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

◆ UpdateMenuFocus()

void UIScriptedMenu::UpdateMenuFocus ( )
inlineprotected

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

873 {
874 Man player = GetGame().GetPlayer();
875 if (m_PlayerAlive)
876 {
877 if (ShouldRestartBeVisible(player))
878 {
880 }
881 else
882 {
884 }
885 }
886 else
887 {
889 }
890 }
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:529
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().