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

◆ GetUserFOVFromConfig()

static float CGame::GetUserFOVFromConfig ( )
inlinestaticprotected

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

3752 {
3753 GameOptions gameOptions = new GameOptions;
3754 NumericOptionsAccess noa;
3755 if (gameOptions && Class.CastTo(noa,gameOptions.GetOptionByType(OptionAccessType.AT_OPTIONS_FIELD_OF_VIEW)))
3756 {
3757 return noa.ReadValue();
3758 }
3759 return 1.0;
3760 }
proto native OptionsAccess GetOptionByType(int accessType)
Get option by AccessType.
OptionAccessType
C++ OptionAccessType.
Определения gameplay.c:1224

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

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