Class InventoryExchangeItem
Represents a player's inventory item that was part of a purchase.
Namespace: Unity.Services.Economy.Model
Syntax
public class InventoryExchangeItem : object
Constructors
InventoryExchangeItem(String, Int32, List<String>)
Declaration
public InventoryExchangeItem(string id, int amount, List<string> playersInventoryItemIds)
Parameters
| Type | Name | Description |
|---|---|---|
| String | id | |
| Int32 | amount | |
| List<String> | playersInventoryItemIds |
Fields
Amount
The amount of these items that were used/rewarded to make the purchase.
Declaration
public int Amount
Field Value
| Type | Description |
|---|---|
| Int32 |
Id
The configuration ID of this inventory item.
Declaration
public string Id
Field Value
| Type | Description |
|---|---|
| String |
PlayersInventoryItemIds
A list of ID's of the PlayersInventoryItem's that were used/rewarded in this purchase.
Declaration
public List<string> PlayersInventoryItemIds
Field Value
| Type | Description |
|---|---|
| List<String> |