8595 {
8597 if (count > 0)
8598 {
8600 {
8602
8604 {
8605 InventoryLocation il = new InventoryLocation();
8606 for (int i = count - 1; i >= 0 ; i--)
8607 {
8609 if (itemToDelete != null)
8610 {
8611 itemToDelete.GetInventory().GetCurrentInventoryLocation(il);
8612 }
8613
8615 {
8617 }
8618 }
8619 }
8620 else
8621 {
8622 for (int j = count - 1; j >= 0 ; j--)
8623 {
8625 if (itemToDelete == null)
8626 {
8628 }
8629 else
8630 {
8631 itemToDelete.Delete();
8633 }
8634 }
8635 }
8636 }
8637 }
8638 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation
ref array< EntityAI > m_ItemsToDelete
ItemBase GetItemInHands()