question

Kim Strasser avatar image
Kim Strasser asked

List with all virtual currency actions and list with all virtual currency purchases

1) Is it possible that the player can call a list in the game with all his virtual currency(VR) actions(for example the game granted VR to the player or he spent VR to purchase an item in the catalog)? The player needs to know how much VR he got/spent.

2) Is it possible that the player can call a list in the game with all the catalog purchases he made with VR? I want that the player sees what item he bought in the catalog and when.

In-Game Economy
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

·
Sarah Zhang avatar image
Sarah Zhang answered

1) It’s not easy to implement. PlayFab doesn’t store these virtual currency history data for clients automatically. Events history only be designed to show in the Game Manager for analytics. As far as I know, you also can manage these Read-Only data via snowflake, it's used for analysis too. Custom server and custom database will be a good solution. You can define logic of storing history data by yourself.

2)As similar as the first question, the complete history data of catalog purchase is difficult to be requested by players.

However players can get the purchase time and unit price of items that in their inventories(that haven't been consumed) via GetUserInventory API. So inventory items' price and purchase time is easy to be called. It's the available feature for players. You can use it if you want.

2 comments
10 |1200

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

Kim Strasser avatar image Kim Strasser commented ·

What happens with durable items in the user inventory, for example a level pack. Are durable items always listed in GetUserInventory API as not consumed?

0 Likes 0 ·
Sarah Zhang avatar image Sarah Zhang Kim Strasser commented ·

In theory, durable items will be always listed unless you revoke them by yourself. You can check the doc and API for more.

0 Likes 0 ·

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.