s&box docs
API ReferenceSandbox.Services

public static abstract sealed class Sandbox.Services.Inventory

Allows access to the Steam Inventory system

Methods

Showing 2 methods

public static bool HasItem(int inventoryDefinitionId)

Returns true if we have this item

Properties

Showing 2 properties

public static System.Collections.Generic.IReadOnlyCollection`1<Sandbox.Services.Inventory.ItemDefinition> Sandbox.Services.Inventory.Definitions { get; set; }

All item definitions

public static System.Collections.Generic.IReadOnlyCollection`1<Sandbox.Services.Inventory.Item> Sandbox.Services.Inventory.Items { get; set; }

All of the items the user has in their inventory

Metadata

FieldValue
NamespaceSandbox.Services
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Services.Inventory

On this page