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

◆ GetUserFOVFromConfig()

static float CGame::GetUserFOVFromConfig ( )
inlinestaticprotected

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

3678 {
3679 GameOptions gameOptions = new GameOptions;
3680 NumericOptionsAccess noa;
3681 if (gameOptions && Class.CastTo(noa,gameOptions.GetOptionByType(OptionAccessType.AT_OPTIONS_FIELD_OF_VIEW)))
3682 {
3683 return noa.ReadValue();
3684 }
3685 return 1.0;
3686 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
OptionAccessType
C++ OptionAccessType.
Определения gameplay.c:1224

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

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