question

r.aznabaev@ciliz.com avatar image
r.aznabaev@ciliz.com asked

Can I keep fully consumed item in a player inventory?

I have consumable with 1 last usesRemaining.
Then I call consume via api.
Item is consumed. Aaaaand revoked?

Does playfab revoke consumable item from the player if you consume that item and usesRemaining == 0 after consume operation? Is there a way I can keep consumable items with 0 usesRemaining in player inventory?

Player DataPlayer Inventory
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

With current Player Inventory system, you cannot keep consumable items with 0 remaining uses in player inventory. Also, after the item is fully consumed, it will create an expired item log in the inventory instead of being revoked. But in our upcoming Economy V2, you can freely set whether to delete item instances with 0 remaining uses.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.