3593 {
3595 if ((
g_Game.IsServer() || !
g_Game.IsMultiplayer()) && inventory)
3596 {
3599 for (int i = 0; i < items.Count(); ++i)
3600 {
3602 if (item)
3603 {
3604 g_Game.ObjectDelete(item);
3605 }
3606 }
3607 }
3608 }
proto native bool EnumerateInventory(InventoryTraversalType tt, out array< EntityAI > items)
enumerate inventory using traversal type and filling items array
script counterpart to engine's class Inventory
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
InventoryTraversalType
tree traversal type, for more see http://en.wikipedia.org/wiki/Tree_traversal