ConsumeItem() removes items from the inventory, permanently. They cannot be recovered.
Not for the faint of heart - if your game implements item removal at all, a high-friction
UI confirmation process is highly recommended. Similar to GenerateItems, punArrayQuantity
can be NULL or else an array of the same length as pArrayItems which describe the quantity
of each item to destroy.
public static bool ConsumeItem(out SteamInventoryResult_t pResultHandle, SteamItemInstanceID_t itemConsume, uint unQuantity) { InteropHelp.TestIfAvailableGameServer(); return NativeMethods.ISteamGameServerInventory_ConsumeItem(out pResultHandle, itemConsume, unQuantity); }