8241 {
8243 if (count > 0)
8244 {
8246 {
8248
8250 {
8251 InventoryLocation il = new InventoryLocation();
8252 for (int i = count - 1; i >= 0 ; i--)
8253 {
8255 if (itemToDelete != null)
8256 {
8257 itemToDelete.GetInventory().GetCurrentInventoryLocation(il);
8258 }
8259
8261 {
8263 }
8264 }
8265 }
8266 else
8267 {
8268 for (int j = count - 1; j >= 0 ; j--)
8269 {
8271 if (itemToDelete == null)
8272 {
8274 }
8275 else
8276 {
8277 itemToDelete.Delete();
8279 }
8280 }
8281 }
8282 }
8283 }
8284 }
InventoryLocationType
types of Inventory Location
proto native int GetType()
returns type of InventoryLocation
ref array< EntityAI > m_ItemsToDelete
ItemBase GetItemInHands()