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

◆ Load()

void AmmoCamParams::Load ( string ammoType)
inlineprivate

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

4 {
5 string cfgPath = "CfgAmmo " + ammoType + " Effects" + " CameraShake ";
6
7 m_Radius = GetGame().ConfigGetFloat(cfgPath + "radius");
8 m_Strength = GetGame().ConfigGetFloat(cfgPath + "strength");
9 m_ModifierClose = GetGame().ConfigGetFloat(cfgPath + "modifierClose");
10 m_ModifierFar = GetGame().ConfigGetFloat(cfgPath + "modifierFar");
11 }
float m_Strength
Определения AmmoCamParams.c:14
float m_Radius
Определения AmmoCamParams.c:13
float m_ModifierClose
Определения AmmoCamParams.c:15
float m_ModifierFar
Определения AmmoCamParams.c:16
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native CGame GetGame()

Перекрестные ссылки CGame::ConfigGetFloat(), GetGame(), m_ModifierClose, m_ModifierFar, m_Radius и m_Strength.