Interface IEconomyService
Interface to the economy service
Namespace: Unity.Services.Economy
Assembly: Unity.Services.Economy.dll
Syntax
public interface IEconomyService
Properties
Configuration
The Configuration methods allow you to access the global Economy configuration for your game.
Declaration
IEconomyConfigurationApiClient Configuration { get; }
Property Value
Type | Description |
---|---|
IEconomyConfigurationApiClient |
PlayerBalances
The PlayerBalances methods provide access to the current player's balances, and allow you to update them.
Declaration
IEconomyPlayerBalancesApiClient PlayerBalances { get; }
Property Value
Type | Description |
---|---|
IEconomyPlayerBalancesApiClient |
PlayerInventory
The PlayerInventory methods provide access to the current player's inventory items, and allow you to update them.
Declaration
IEconomyPlayerInventoryApiClient PlayerInventory { get; }
Property Value
Type | Description |
---|---|
IEconomyPlayerInventoryApiClient |
Purchases
The Purchases methods allow you to make virtual and real world purchases.
Declaration
IEconomyPurchasesApiClientApi Purchases { get; }
Property Value
Type | Description |
---|---|
IEconomyPurchasesApiClientApi |