mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 15:48:06 +03:00
InventoryDef.IsGenerator
This commit is contained in:
parent
060af634d7
commit
b6fa05afa2
@ -46,6 +46,12 @@ namespace Steamworks
|
||||
/// </summary>
|
||||
public string Type => GetProperty( "type" );
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if this is an item that generates an item, rather
|
||||
/// than something that is actual an item
|
||||
/// </summary>
|
||||
public bool IsGenerator => Type == "generator";
|
||||
|
||||
/// <summary>
|
||||
/// Shortcut to call GetProperty( "exchange" )
|
||||
/// </summary>
|
||||
|
Loading…
x
Reference in New Issue
Block a user