Method GetVirtualPurchasesAsync
GetVirtualPurchasesAsync()
Gets all the virtual purchases currently configured and published in the Economy Dashboard.
Note that this will also fetch all associated Inventory Items/Currencies associated with the purchase.
Declaration
[Obsolete("GetVirtualPurchasesAsync has been replaced by first caching your configuration using SyncConfigurationAsync and then using the GetVirtualPurchases method. This API will be removed in an upcoming release.", false)]
Task<List<VirtualPurchaseDefinition>> GetVirtualPurchasesAsync()
Returns
Type | Description |
---|---|
Task<List<VirtualPurchaseDefinition>> | A list of VirtualPurchaseDefinition |
Exceptions
Type | Condition |
---|---|
EconomyException | Thrown if request is unsuccessful |