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

◆ ActionCondition()

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

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

30 {
31 Object targetObject = target.GetObject();
32
33 if ( targetObject != NULL && targetObject.IsInherited(PlantBase) && item != NULL && !item.IsDamageDestroyed() )
34 {
35 PlantBase plant = PlantBase.Cast( targetObject );
36 return plant.NeedsWater() && item.GetQuantity() > 0 && !item.GetIsFrozen();
37 }
38
39 return false;
40 }
void PlantBase()
Определения PlantBase.c:54
class LOD Object

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