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

◆ CanDisplayMouseCursor()

bool CGame::CanDisplayMouseCursor ( )
inlineprotected

extend as needed, only game focus and M&K setting (consoles only!) are checked natively

Only checking on console because while loading on PC, the mouse might not be detected

Platform defaults

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

3885 {
3887#ifdef PLATFORM_CONSOLE
3888 if (GetInput())
3889 {
3890 return GetInput().IsMouseConnected();
3891 }
3892#endif
3893
3895#ifdef PLATFORM_CONSOLE
3896 return false;
3897#else
3898 return true;
3899#endif
3900 }
proto native Input GetInput()
proto native bool IsMouseConnected()

Перекрестные ссылки GetInput() и Input::IsMouseConnected().

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