1485 {
1486 if (attachment)
1487 {
1488 GameInventory attachmentInventory = attachment.GetInventory();
1489 if (attachmentInventory)
1490 {
1492 if (inventory)
1493 {
1494 InventoryLocation il = new InventoryLocation();
1497 {
1500 }
1501 }
1502 }
1503 }
1504 return true;
1505 }
proto native GameInventory GetInventory()
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
proto native bool GetSlotLock(int slot)
proto native bool IsValid()
verify current set inventory location
proto native int GetSlot()
returns slot id if current type is Attachment