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

◆ IsEmpty()

bool Entity::IsEmpty ( )
inlineprotected

is this container empty or not, checks both cargo and attachments

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 660

661 {
662 return (!HasAnyCargo() && GetInventory().AttachmentCount() == 0);
663 }
bool HasAnyCargo()
is this container empty or not, checks only cargo
proto native GameInventory GetInventory()

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