I'd like to show the item number of stacks that the user has. I tried via GetUserInventoryRequest but it seems that the result List<ItemInstance> doesn't have the stacks of X item. Hope you can help me, thanks!
I'd like to show the item number of stacks that the user has. I tried via GetUserInventoryRequest but it seems that the result List<ItemInstance> doesn't have the stacks of X item. Hope you can help me, thanks!
For the stackable items, there is a property in the Inventory of GetUserInventoryResult named RemainingUses.
This property illustrates the stacking number of this item. As you can see from the property name, stackable items are usually designed for consumption.
Please be aware that no matter the item is durable or consumable, RemainingUses can always retrieve the number of stacks.
2 People are following this question.