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

◆ GetParamFloat()

static float Surface::GetParamFloat ( string surface_name,
string param_name )
inlinestaticprivate

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

19 {
20 return GetGame().ConfigGetFloat("CfgSurfaces " + surface_name + " " + param_name);
21 }
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native CGame GetGame()

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

Используется в DealEvinronmentAdjustedDmg(), GetSurfaceWetnessOnHeatModifier() и ManBase::ProcessFeetDamageServer().