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

◆ GetSoakingIncrement()

float InventoryItem::GetSoakingIncrement ( string pIncrementName)
inlineprotected

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

3639 {
3640 string paramPath = string.Format("CfgVehicles %1 EnvironmentWetnessIncrements Soaking %2", GetType(), pIncrementName);
3641 if (GetGame().ConfigIsExisting(paramPath))
3642 return GetGame().ConfigGetFloat(paramPath);
3643
3644 return 0.0;
3645 }
eBleedingSourceType GetType()
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native CGame GetGame()

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