DayZ 1.30
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 строка 646

647 {
648 return (!HasAnyCargo() && GetInventory().AttachmentCount() == 0);
649 }
bool HasAnyCargo()
proto native GameInventory GetInventory()

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