Facepunch.Steamworks Wiki

Steamworks.InventoryDef

Properties

System.DateTime Created { get; }
Gets the property timestamp
string Description { get; }
Shortcut to call GetProperty( "description" )
string ExchangeSchema { get; }
Shortcut to call GetProperty( "exchange" )
string IconUrl { get; }
Shortcut to call GetProperty( "icon_url" )
string IconUrlLarge { get; }
Shortcut to call GetProperty( "icon_url_large" )
int Id { get; }
bool IsGenerator { get; }
Returns true if this is an item that generates an item, rather than something that is actual an item
int LocalBasePrice { get; }
If the price has been discounted, LocalPrice will differ from LocalBasePrice (assumed, this isn't documented)
string LocalBasePriceFormatted { get; }
int LocalPrice { get; }
Returns the price of this item in the local currency (SteamInventory.Currency)
string LocalPriceFormatted { get; }
bool Marketable { get; }
Shortcut to call GetBoolProperty( "marketable" )
System.DateTime Modified { get; }
Gets the property modified
string Name { get; }
Shortcut to call GetProperty( "name" )
string PriceCategory { get; }
Shortcut to call GetProperty( "price_category" )
KeyValuePair<string, string> Properties { get; }
Gets a list of all properties on this item
bool Tradable { get; }
Shortcut to call GetBoolProperty( "tradable" )
string Type { get; }
Shortcut to call GetProperty( "type" )

Methods

bool GetBoolProperty( string name )
Read a raw property from the definition schema
T GetProperty( string name )
Get a specific property by name
Get a list of exchanges that are available to make this item
Return a list of recepies that contain this item