Class PlayerPurchaseVirtualResponseRewards
Rewards of the purchase.
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: solution.dll
Syntax
[Preserve]
public class PlayerPurchaseVirtualResponseRewards
Constructors
PlayerPurchaseVirtualResponseRewards(List<CurrencyExchangeItem>, List<InventoryExchangeItem>)
Initializes a new instance of the PlayerPurchaseVirtualResponseRewards class.
Declaration
[Preserve]
public PlayerPurchaseVirtualResponseRewards(List<CurrencyExchangeItem> currency = null, List<InventoryExchangeItem> inventory = null)
Parameters
Type | Name | Description |
---|---|---|
List<CurrencyExchangeItem> | currency | Currency that was credited in the purchase.. |
List<InventoryExchangeItem> | inventory | Inventory that was credited in the purchase. (required). |
Properties
Currency
Currency that was credited in the purchase.
Declaration
[Preserve]
public List<CurrencyExchangeItem> Currency { get; set; }
Property Value
Type | Description |
---|---|
List<CurrencyExchangeItem> | Currency that was credited in the purchase. |
Inventory
Inventory that was credited in the purchase.
Declaration
[Preserve]
public List<InventoryExchangeItem> Inventory { get; set; }
Property Value
Type | Description |
---|---|
List<InventoryExchangeItem> | Inventory that was credited in the purchase. |