mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Added Inventory.Definition.IconUrl
This commit is contained in:
parent
8aed047784
commit
158a102060
@ -218,6 +218,8 @@ public void InventoryDefinitions()
|
||||
Console.WriteLine( "{0}: {1}", i.Id, i.Name );
|
||||
Console.WriteLine( " itemshortname: {0}", i.GetStringProperty( "itemshortname" ) );
|
||||
Console.WriteLine( " workshopdownload: {0}", i.GetStringProperty( "workshopdownload" ) );
|
||||
Console.WriteLine( " IconUrl: {0}", i.IconUrl );
|
||||
Console.WriteLine( " IconLargeUrl: {0}", i.IconLargeUrl );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,6 +20,8 @@ public class Definition
|
||||
public int Id { get; private set; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string IconUrl { get; set; }
|
||||
public string IconLargeUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// If this item can be created using other items this string will contain a comma seperated
|
||||
@ -103,6 +105,8 @@ internal void SetupCommonProperties()
|
||||
Created = GetProperty<DateTime>( "timestamp" );
|
||||
Modified = GetProperty<DateTime>( "modified" );
|
||||
ExchangeSchema = GetStringProperty( "exchange" );
|
||||
IconUrl = GetStringProperty( "icon_url" );
|
||||
IconLargeUrl = GetStringProperty( "icon_url_large" );
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user