PurchaseItemResult.Items (and ItemInstance.BundleContents) does not include any virtual currencies that would be obtained from unlocking the container. Is there another way to obtain this?
PurchaseItemResult.Items (and ItemInstance.BundleContents) does not include any virtual currencies that would be obtained from unlocking the container. Is there another way to obtain this?
You would need to create a bundle. A bundle is an inventory object that unpacks automatically and can contain Virtual Currency. "Example would be like; player buys a "Gem bundle" and the bundle deletes itself and grants a bunch of Virtual Currency"
So there's no way to get the virtual currencies container in a Container?
Virtual currencies can be added to the player account via Bundles and Containers. The issue you're highlighting is the fact that the VC added to the player account is not in the PurchaseItemResult info, yes? We do have an open work item on that, but I'd recommend adding it in our Feature Requests forum, so that others can "like" the idea, which helps with prioritization.
@Bendan What would I use to get access to the player events? I'm working on something similar and am pretty new to PlayFab. Is the playstream events returned somewhere in GetPlayerCombinedInfo? Thanks.
No events are part of the PlayStream, and are the information concerning things that occurred in the game, some for the player, some not. You can review events in the Game Manager, have them sent to you via the Webhook and Event Archive options, and search on the full set of events for the lifetime of the game in Snowflake. If you want to take an action based upon an event occurring, you can use a Rule to set that up. I'd recommend reviewing these tutorials: https://api.playfab.com/docs/tutorials#landing-analytics
7 People are following this question.
Remove multiple items from inventory API request,Remove multiple items from inventory.
Economy v2 purchase item bundle stack values
Can we create in-app for ok.ru using Firebase and Playfab?
Economy V2 - How to create Card game mechanics?
PlayFabEconomyAPI.PurchaseInventoryItems (Client) started to require EntityKey?