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

◆ LockControls()

void DayZPlayer::LockControls ( bool state)
inlineprotected

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

843 {
844 if (state == true)
845 {
849
850 if (GetGame().GetUIManager())
851 {
853 if (GetGame().GetUIManager().IsDialogVisible())
855 }
856 }
857 else
858 {
862
863 if (GetGame().GetUIManager())
864 {
865 if (GetGame().GetUIManager().GetMenu())
866 {
868 }
869 else
870 {
872 }
873 }
874 }
875 }
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
proto native void CloseDialog()
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(), UIManager::CloseDialog(), GetGame(), CGame::GetInput(), CGame::GetUIManager(), INPUT_DEVICE_GAMEPAD, INPUT_DEVICE_KEYBOARD, INPUT_DEVICE_MOUSE и UIManager::ShowUICursor().

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