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

◆ GetUserFOVFromConfig()

static float CGame::GetUserFOVFromConfig ( )
inlinestaticprotected

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

3884 {
3885 GameOptions gameOptions = new GameOptions;
3886 NumericOptionsAccess noa;
3887 if (gameOptions && Class.CastTo(noa,gameOptions.GetOptionByType(OptionAccessType.AT_OPTIONS_FIELD_OF_VIEW)))
3888 {
3889 return noa.ReadValue();
3890 }
3891 return 1.0;
3892 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
OptionAccessType
C++ OptionAccessType.
Определения gameplay.c:1224

Перекрестные ссылки Class::CastTo() и GameOptions::GetOptionByType().

Используется в DeferredInit() и SelectGamepad().