v3.1.2
2020.3+
Class InventoryItemDefinition
Represents a single inventory item configuration.
Inherited Members
Namespace: Unity.Services.Economy.Model
Syntax
[Preserve]
public class InventoryItemDefinition : ConfigurationItemDefinition
Methods
GetAllPlayersInventoryItemsAsync()
Gets all the PlayersInventoryItems of this inventory item for the currently signed in player
Declaration
public async Task<GetInventoryResult> GetAllPlayersInventoryItemsAsync()
Returns
Type | Description |
---|---|
Task<GetInventoryResult> | A GetInventoryResult with all the PlayersInventoryItems of this inventory item |