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

◆ InitDOFProperties()

bool Weapon::InitDOFProperties ( out array< float > temp_array)
inlineprotected

Initializes DOF properties for weapon's ironsight/optics cameras.

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

1261 {
1262 if (GetGame().ConfigIsExisting("cfgWeapons " + GetType() + " PPDOFProperties"))
1263 {
1264 GetGame().ConfigGetFloatArray("cfgWeapons " + GetType() + " PPDOFProperties", temp_array);
1265 return true;
1266 }
1267 return false;
1268 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
proto native void ConfigGetFloatArray(string path, out TFloatArray values)
Get array of floats from config on path.
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetFloatArray(), GetGame() и GetType().

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