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

◆ IsAttachmentSlotLocked() [1/2]

bool ItemBase::IsAttachmentSlotLocked ( EntityAI attachment)
inlineprotected

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

922 {
923 if ( attachment )
924 {
925 InventoryLocation inventory_location = new InventoryLocation;
926 attachment.GetInventory().GetCurrentInventoryLocation( inventory_location );
927
928 return GetInventory().GetSlotLock( inventory_location.GetSlot() );
929 }
930
931 return false;
932 }
proto native int GetSlot()
returns slot id if current type is Attachment

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