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

◆ IsAttachmentSlotLocked() [1/2]

bool ItemBase::IsAttachmentSlotLocked ( EntityAI attachment)
inlineprotected

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

829 {
830 if ( attachment )
831 {
832 InventoryLocation inventory_location = new InventoryLocation;
833 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
834
835 return GetInventory().GetSlotLock( inventory_location.GetSlot() );
836 }
837
838 return false;
839 }
proto native int GetSlot()
returns slot id if current type is Attachment

Перекрестные ссылки InventoryLocation::GetSlot().