Interface IEconomyConfigurationApiClient
This class allows you to retrieve items from the global economy configuration as it is set up in the Unity Dashboard.
Namespace: Unity.Services.Economy
Assembly: solution.dll
Syntax
public interface IEconomyConfigurationApiClient
Methods
| Name | Description |
|---|---|
| GetConfigAssignmentHash() | Returns the cached config assignment hash. |
| GetCurrencies() | Gets the currencies from the cached configuration. |
| GetCurrenciesAsync() | Gets the Currencies that have been configured and published in the Unity Dashboard. |
| GetCurrency(string) | Gets a specific currency from the cached config. |
| GetCurrencyAsync(string) | Gets a Currency Definition for a specific currency. |
| GetInventoryItem(string) | Gets a specific inventory item from the cached config. |
| GetInventoryItemAsync(string) | Gets a InventoryItemDefinition for a specific currency. |
| GetInventoryItems() | Gets the inventory items from the cached configuration. |
| GetInventoryItemsAsync() | Gets the Inventory Items that have been configured and published in the Unity Dashboard. |
| GetRealMoneyPurchase(string) | Gets a specific real money purchase from the cached config. |
| GetRealMoneyPurchaseAsync(string) | Gets a RealMoneyPurchaseDefinition for a specific real money purchase. |
| GetRealMoneyPurchases() | Gets the real money purchases from the cached configuration. |
| GetRealMoneyPurchasesAsync() | Gets all the real money purchases currently configured and published in the Economy Dashboard. |
| GetVirtualPurchase(string) | Gets a specific virtual purchase from the cached config. |
| GetVirtualPurchaseAsync(string) | Gets a VirtualPurchaseDefinition for a specific virtual purchase. Note that this will also fetch the associated Inventory Items/Currencies associated with this purchase. |
| GetVirtualPurchases() | Gets the virtual purchases from the cached configuration. |
| 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. |
| SyncConfigurationAsync() | Gets the currently published Economy configuration and caches it. |