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

◆ CanSwapItemInCargo()

bool Entity::CanSwapItemInCargo ( EntityAI child_entity,
EntityAI new_entity )
inlineprotected

calls this->CanSwapItemInCargo(child_entity, new_entity)

Возвращает
true if action allowed
Заметки
: return ScriptConditionExecute(GetOwner(), child_entity, "CanSwapItemInCargo", new_entity);

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

1559 {
1560 if (GetInventory() && GetInventory().GetCargo())
1561 return GetInventory().GetCargo().CanSwapItemInCargo(child_entity, new_entity));
1562
1563 return true;
1564 }
bool CanSwapItemInCargo(EntityAI child_entity, EntityAI new_entity)
condition EntityAI::CanSwapItemInCargo for Cargo.
Определения Cargo.c:71
proto native GameInventory GetInventory()
proto native CargoBase GetCargo()
cargo

Перекрестные ссылки EntityAI() и GetInventory().