Api ItemDefinition
class

ItemDefinition

public sealed class ItemDefinition

Describes a type of item that can be in the inventory

Constructors

ItemDefinition(Int32 id)

Properties

Name Type Description
Id Int32
Name String
Description String
DescriptionWithMeta String
IconUrl String
IconUrlLarge String
PackageIdent String
Category String
StoreHidden Boolean
Asset String
SellStart DateTime?
SellEnd DateTime?
Price CurrencyValue If we're for sale, this is our price
BasePrice CurrencyValue If we're for sale but on sale, this is our regular price
Assembly: Sandbox.Engine Declaring Type: Inventory Full Name: Sandbox.Services.Inventory.ItemDefinition