Api Sandbox Services Inventory
class

Inventory

public static abstract sealed class Inventory

Allows access to the Steam Inventory system

Properties

Name Type Description
Items static IReadOnlyCollection<Item> All of the items the user has in their inventory
Definitions static IReadOnlyCollection<ItemDefinition> All item definitions

Methods

static Boolean HasItem(Int32 inventoryDefinitionId)

Returns true if we have this item

static ItemDefinition FindDefinition(Int32 definitionId)

Find a definition by id

Assembly: Sandbox.Engine Namespace: Sandbox.Services Full Name: Sandbox.Services.Inventory