DayZ 1.30
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 строка 4016

4017 {
4019#ifdef PLATFORM_CONSOLE
4020 if (GetInput())
4021 {
4022 return GetInput().IsMouseConnected();
4023 }
4024#endif
4025
4027#ifdef PLATFORM_CONSOLE
4028 return false;
4029#else
4030 return true;
4031#endif
4032 }
proto native Input GetInput()
proto native bool IsMouseConnected()

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

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