DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
◆
ActionCondition()
override
bool
ActionAttachSeeds::ActionCondition
(
PlayerBase
player
,
ActionTarget
target
,
ItemBase
item
)
inline
private
См. определение в файле
ActionAttachSeeds.c
строка
3
4
{
5
EntityAI
targetEntity =
EntityAI
.Cast(target.GetObject());
6
if
(targetEntity && !GardenBase.Cast(targetEntity) && item)
7
{
8
return
targetEntity.GetInventory() && targetEntity.GetInventory().CanAddAttachment(item) && !targetEntity.CanUseConstruction());
9
}
10
11
return
false
;
12
}
EntityAI
class LogManager EntityAI
Перекрестные ссылки
ActionTarget
.
ActionAttachSeeds
Создано системой
1.13.2