v3.1.2
2020.3+

Class GetInventoryOptions

Options for a GetInventoryAsync call.

Inheritance
GetInventoryOptions
Namespace: Unity.Services.Economy
Syntax
public class GetInventoryOptions

Fields

InventoryItemIds

The configuration IDs of the items you want to retrieve.

Declaration
public List<string> InventoryItemIds
Field Value
TypeDescription
List<String>

ItemsPerFetch

Used to specify the number of items to fetch per request. Defaults to 20 items.

Declaration
public int ItemsPerFetch
Field Value
TypeDescription
Int32

PlayersInventoryItemIds

The PlayersInventoryItem IDs of the items in the players inventory that you want to retrieve.

Declaration
public List<string> PlayersInventoryItemIds
Field Value
TypeDescription
List<String>