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

◆ LockControls()

void DayZPlayer::LockControls ( bool state)
inlineprotected

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

851 {
852 if (state == true)
853 {
857
858 if (GetGame().GetUIManager())
859 {
861 if (GetGame().GetUIManager().IsDialogVisible())
863 }
864 }
865 else
866 {
870
871 if (GetGame().GetUIManager())
872 {
873 if (GetGame().GetUIManager().GetMenu())
874 {
876 }
877 else
878 {
880 }
881 }
882 }
883 }
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
Определения 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(), UIManager::CloseDialog(), GetGame(), CGame::GetInput(), CGame::GetUIManager(), INPUT_DEVICE_GAMEPAD, INPUT_DEVICE_KEYBOARD, INPUT_DEVICE_MOUSE и UIManager::ShowUICursor().

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