v3.1.2
2020.3+

Class InventoryItemDefinition

Represents a single inventory item configuration.

Inheritance
InventoryItemDefinition
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
TypeDescription
Task<GetInventoryResult>

A GetInventoryResult with all the PlayersInventoryItems of this inventory item