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

◆ SoakItemInsideParentContainingLiquidAboveThreshold()

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

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

1879 {
1880 if (g_Game.IsServer())
1881 {
1882 if (parent.GetLiquidType() != 0 && parent.GetQuantityNormalized() > liquidQuantityThresholdPercentage && !parent.GetIsFrozen())
1883 item.SetWetMax();
1884 }
1885 }
DayZGame g_Game
Определения DayZGame.c:3868

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