DayZ 1.27
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 строка 3810

3811 {
3813#ifdef PLATFORM_CONSOLE
3814 if (GetInput())
3815 {
3816 return GetInput().IsMouseConnected();
3817 }
3818#endif
3819
3821#ifdef PLATFORM_CONSOLE
3822 return false;
3823#else
3824 return true;
3825#endif
3826 }
proto native Input GetInput()
proto native bool IsMouseConnected()

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

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