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

◆ UnlockControls()

void UIMenuPanel::UnlockControls ( )
inlineprivate

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

105 {
106#ifdef FEATURE_CURSOR
107 if (IsCreatedHidden())
108 return;
109#endif
110
111 if (UseMouse())
112 {
114 }
115
117 {
119 }
120 else
121 {
123 }
124
125 if(UseKeyboard())
126 {
128 }
129
130 if(UseGamepad())
131 {
133 }
134 }
proto native UIManager GetUIManager()
proto native Input GetInput()
proto native void ChangeGameFocus(int add, int input_device=-1)
Change game focus number.
void ShowUICursor(bool visible)
Определения UIManager.c:244
bool UseKeyboard()
Определения UIScriptedMenu.c:41
bool UseMouse()
Определения UIScriptedMenu.c:33
bool UseGamepad()
Определения UIScriptedMenu.c:49
proto native UIMenuPanel GetParentMenu()
proto native CGame GetGame()
const int INPUT_DEVICE_MOUSE
Определения 1_Core/constants.c:24
const int INPUT_DEVICE_GAMEPAD
Определения 1_Core/constants.c:28
const int INPUT_DEVICE_KEYBOARD
Определения 1_Core/constants.c:23

Перекрестные ссылки Input::ChangeGameFocus(), GetGame(), CGame::GetInput(), GetParentMenu(), CGame::GetUIManager(), INPUT_DEVICE_GAMEPAD, INPUT_DEVICE_KEYBOARD, INPUT_DEVICE_MOUSE, UIManager::ShowUICursor(), UIScriptedMenu::UseGamepad(), UIScriptedMenu::UseKeyboard() и UIScriptedMenu::UseMouse().

Используется в OnHide().