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

◆ ActionCondition()

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

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

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

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