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

◆ UnlockControls()

void UIMenuPanel::UnlockControls ( )
inlineprivate

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

104 {
105#ifdef FEATURE_CURSOR
106 if (IsCreatedHidden())
107 return;
108#endif
109
110 if (UseMouse())
111 {
113 }
114
116 {
118 }
119 else
120 {
122 }
123
124 if(UseKeyboard())
125 {
127 }
128
129 if(UseGamepad())
130 {
132 }
133 }
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:40
bool UseMouse()
Определения UIScriptedMenu.c:32
bool UseGamepad()
Определения UIScriptedMenu.c:48
proto native UIMenuPanel GetParentMenu()
proto native CGame GetGame()
const int INPUT_DEVICE_MOUSE
Определения constants.c:24
const int INPUT_DEVICE_GAMEPAD
Определения constants.c:28
const int INPUT_DEVICE_KEYBOARD
Определения 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().