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

◆ IsAttachmentSlotLocked() [1/2]

bool ItemBase::IsAttachmentSlotLocked ( EntityAI attachment)
inlineprotected

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

902 {
903 if ( attachment )
904 {
905 InventoryLocation inventory_location = new InventoryLocation;
906 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
907
908 return GetInventory().GetSlotLock( inventory_location.GetSlot() );
909 }
910
911 return false;
912 }
proto native int GetSlot()
returns slot id if current type is Attachment

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