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

◆ HasAnyAttachments()

bool Entity::HasAnyAttachments ( )
inlineprotected

Is there any attachments on the object or not, checks only attachments

Заметки
: Does NOT include count of items of attachments of items that are themselves in cargo or attached

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

678 {
679 return GetInventory().AttachmentCount() > 0;
680 }
proto native GameInventory GetInventory()
proto native int AttachmentCount()
Returns count of attachments attached to this item.

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

Используется в HasAnyAttachmentsOrCargo().