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

◆ GetSoakingIncrement()

float InventoryItem::GetSoakingIncrement ( string pIncrementName)
inlineprotected

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

3569 {
3570 string paramPath = string.Format("CfgVehicles %1 EnvironmentWetnessIncrements Soaking %2", GetType(), pIncrementName);
3571 if (GetGame().ConfigIsExisting(paramPath))
3572 return GetGame().ConfigGetFloat(paramPath);
3573
3574 return 0.0;
3575 }
eBleedingSourceType GetType()
Определения BleedingSource.c:63
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto native CGame GetGame()

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