Class Configuration
Obsolete, please use EconomyService.Instance.Configuration
Inherited Members
Namespace: Unity.Services.Economy
Assembly: Unity.Services.Economy.dll
Syntax
[Obsolete("The interface provided by Economy.Configuration has been replaced by EconomyService.Instance.Configuration, and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public class Configuration
Methods
GetCurrenciesAsync()
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetCurrenciesAsync() has been replaced by EconomyService.Instance.Configuration.GetCurrenciesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<CurrencyDefinition>> GetCurrenciesAsync()
Returns
Type | Description |
---|---|
Task<List<CurrencyDefinition>> | Obsolete |
GetCurrencyAsync(string)
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetCurrencyAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetCurrencyAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<CurrencyDefinition> GetCurrencyAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Obsolete |
Returns
Type | Description |
---|---|
Task<CurrencyDefinition> | Obsolete |
GetInventoryItemAsync(string)
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetInventoryItemAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetInventoryItemAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<InventoryItemDefinition> GetInventoryItemAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Obsolete |
Returns
Type | Description |
---|---|
Task<InventoryItemDefinition> | Obsolete |
GetInventoryItemsAsync()
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetInventoryItemsAsync() has been replaced by EconomyService.Instance.Configuration.GetInventoryItemsAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<InventoryItemDefinition>> GetInventoryItemsAsync()
Returns
Type | Description |
---|---|
Task<List<InventoryItemDefinition>> | Obsolete |
GetRealMoneyPurchaseAsync(string)
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetRealMoneyPurchaseAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetRealMoneyPurchaseAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<RealMoneyPurchaseDefinition> GetRealMoneyPurchaseAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Obsolete |
Returns
Type | Description |
---|---|
Task<RealMoneyPurchaseDefinition> | Obsolete |
GetRealMoneyPurchasesAsync()
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetRealMoneyPurchasesAsync() has been replaced by EconomyService.Instance.Configuration.GetRealMoneyPurchasesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<RealMoneyPurchaseDefinition>> GetRealMoneyPurchasesAsync()
Returns
Type | Description |
---|---|
Task<List<RealMoneyPurchaseDefinition>> | Obsolete |
GetVirtualPurchaseAsync(string)
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetVirtualPurchaseAsync(string id) has been replaced by EconomyService.Instance.Configuration.GetVirtualPurchaseAsync(string id), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<VirtualPurchaseDefinition> GetVirtualPurchaseAsync(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Obsolete |
Returns
Type | Description |
---|---|
Task<VirtualPurchaseDefinition> | Obsolete |
GetVirtualPurchasesAsync()
Obsolete, please use EconomyService.Instance.Configuration
Declaration
[Obsolete("The interface provided by Economy.Configuration.GetVirtualPurchasesAsync() has been replaced by EconomyService.Instance.Configuration.GetVirtualPurchasesAsync(), and should be accessed from there instead. This API will be removed in an upcoming release.", false)]
public Task<List<VirtualPurchaseDefinition>> GetVirtualPurchasesAsync()
Returns
Type | Description |
---|---|
Task<List<VirtualPurchaseDefinition>> | Obsolete |