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