Skip to content

Commit a522be1

Browse files
author
babelshift
committed
Updated models lib.
1 parent 1a0a492 commit a522be1

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

SteamWebAPI2/Models/GameEconomy/SchemaResultContainer.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -281,21 +281,27 @@ internal class SchemaTool
281281

282282
internal class SchemaItem
283283
{
284-
[JsonProperty("name")]
285-
public string Name { get; set; }
286-
287284
[JsonProperty("defindex")]
288-
public int Defindex { get; set; }
285+
public int DefIndex { get; set; }
289286

290-
[JsonProperty("item_class")]
291-
public string ItemClass { get; set; }
287+
[JsonProperty("name")]
288+
public string Name { get; set; }
292289

293290
[JsonProperty("item_type_name")]
294291
public string ItemTypeName { get; set; }
295292

296293
[JsonProperty("item_name")]
297294
public string ItemName { get; set; }
298295

296+
[JsonProperty("item_description")]
297+
public string ItemDescription { get; set; }
298+
299+
[JsonProperty("image_inventory")]
300+
public string ImageInventoryPath { get; set; }
301+
302+
[JsonProperty("item_class")]
303+
public string ItemClass { get; set; }
304+
299305
[JsonProperty("proper_name")]
300306
public bool ProperName { get; set; }
301307

@@ -308,9 +314,6 @@ internal class SchemaItem
308314
[JsonProperty("item_quality")]
309315
public int ItemQuality { get; set; }
310316

311-
[JsonProperty("image_inventory")]
312-
public string ImageInventory { get; set; }
313-
314317
[JsonProperty("min_ilevel")]
315318
public int MinIlevel { get; set; }
316319

@@ -338,9 +341,6 @@ internal class SchemaItem
338341
[JsonProperty("styles")]
339342
public IList<SchemaStyle> Styles { get; set; }
340343

341-
[JsonProperty("item_description")]
342-
public string ItemDescription { get; set; }
343-
344344
[JsonProperty("attributes")]
345345
public IList<SchemaItemAttribute> Attributes { get; set; }
346346

@@ -414,7 +414,7 @@ internal class SchemaItemSet
414414
public IList<SchemaItemSetAttribute> Attributes { get; set; }
415415

416416
[JsonProperty("store_bundle")]
417-
public string StoreBundle { get; set; }
417+
public string StoreBundleName { get; set; }
418418
}
419419

420420
internal class SchemaAttributeControlledAttachedParticle

SteamWebAPI2/SteamWebAPI2.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
3939
<Private>True</Private>
4040
</Reference>
41-
<Reference Include="Steam.Models, Version=1.0.0.11, Culture=neutral, processorArchitecture=MSIL">
42-
<HintPath>..\packages\Steam.Models.1.0.0.11\lib\net46\Steam.Models.dll</HintPath>
41+
<Reference Include="Steam.Models, Version=1.0.0.15, Culture=neutral, processorArchitecture=MSIL">
42+
<HintPath>..\..\..\BitBucket\git\DotaDb.WebAPI\packages\Steam.Models.1.0.0.15\lib\net46\Steam.Models.dll</HintPath>
4343
<Private>True</Private>
4444
</Reference>
4545
<Reference Include="System" />

SteamWebAPI2/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
<packages>
33
<package id="AutoMapper" version="4.2.0" targetFramework="net46" />
44
<package id="Newtonsoft.Json" version="8.0.2" targetFramework="net46" />
5-
<package id="Steam.Models" version="1.0.0.11" targetFramework="net46" />
5+
<package id="Steam.Models" version="1.0.0.15" targetFramework="net46" />
66
</packages>

0 commit comments

Comments
 (0)