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

◆ SoakItemInsideParentContainingLiquidAboveThreshold()

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

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

1886 {
1887 if (g_Game.IsServer())
1888 {
1889 if (parent.GetLiquidType() != 0 && parent.GetQuantityNormalized() > liquidQuantityThresholdPercentage && !parent.GetIsFrozen())
1890 item.SetWetMax();
1891 }
1892 }
DayZGame g_Game
Определения DayZGame.c:3868

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