Steamworks.InventoryItem
Properties
Will try to return the date that this item was aquired. You need to have for the items
with their properties for this to work.
The item quantity has been decreased by 1 via ConsumeItem API.
This is an action confirmation flag which is only set one time, as part of a result set.
This item is account-locked and cannot be traded or given away.
This is an item status flag which is permanently attached to specific item instances
The item has been destroyed, traded away, expired, or otherwise invalidated.
This is an action confirmation flag which is only set one time, as part of a result set.
Tries to get the origin property. Need properties for this to work.
Will return a string like "market"
Only available if the result set was created with the getproperties
Methods
Add x units of the target item to this item
Consumes items from a user's inventory. If the quantity of the given item goes to zero, it is permanently removed.
Once an item is removed it cannot be recovered.This is not for the faint of heart - if your game implements item removal at all,
a high-friction UI confirmation process is highly recommended.ConsumeItem can be restricted to certain item definitions or fully
blocked via the Steamworks website to minimize support/abuse issues such as the classic "my brother borrowed my laptop and deleted a..
Split stack into two items