Class PlayerInventoryResponse
PlayerInventoryResponse
Inherited Members
Namespace: Unity.Services.Apis.Economy
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "player_inventory_response")]
[Preserve]
public class PlayerInventoryResponse
Constructors
PlayerInventoryResponse(List<InventoryResponse>, PlayerCurrencyBalanceResponseLinks)
Initializes a new instance of the Player
Declaration
[Preserve]
public PlayerInventoryResponse(List<InventoryResponse> results = null, PlayerCurrencyBalanceResponseLinks links = null)
Parameters
Type | Name | Description |
---|---|---|
List<Inventory |
results | List of player's inventory items. (required). |
Player |
links | links (required). |
Properties
Links
Gets or Sets Links
Declaration
[DataMember(Name = "links", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public PlayerCurrencyBalanceResponseLinks Links { get; set; }
Property Value
Type | Description |
---|---|
Player |
Results
List of player's inventory items.
Declaration
[DataMember(Name = "results", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public List<InventoryResponse> Results { get; set; }
Property Value
Type | Description |
---|---|
List<Inventory |
List of player's inventory items. |