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

◆ SoakItemInsideParentContainingLiquidAboveThreshold()

static void SoakItemInsideParentContainingLiquidAboveThreshold ( notnull ItemBase item,
notnull ItemBase parent,
float liquidQuantityThresholdPercentage = 0.05 )
staticprotected

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

1892 {
1893 if (g_Game.IsServer())
1894 {
1895 if (parent.GetLiquidType() != 0 && parent.GetQuantityNormalized() > liquidQuantityThresholdPercentage && !parent.GetIsFrozen())
1896 item.SetWetMax();
1897 }
1898 }
DayZGame g_Game
Определения DayZGame.c:3942

Перекрестные ссылки g_Game.