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

◆ ActionCondition()

override bool ActionEmptyBottleBase::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

58 {
59 if ( GetGame().IsServer() && GetGame().IsMultiplayer() )
60 return true;
61
62 return item.IsLiquidPresent() && item.GetQuantity() > item.GetQuantityMin() && !item.GetIsFrozen();
63 }
proto native CGame GetGame()

Перекрестные ссылки ActionTarget и GetGame().