-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecating GetSchema in favor of GetSchemaItems and GetSchemaOverview.
- Loading branch information
1 parent
cb6702f
commit 742c956
Showing
7 changed files
with
102 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/SteamWebAPI2/Models/GameEconomy/SchemaItemResultContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace SteamWebAPI2.Models.GameEconomy | ||
{ | ||
public class SchemaItemsResult | ||
{ | ||
[JsonProperty("status")] | ||
public uint Status { get; set; } | ||
[JsonProperty("items_game_url")] | ||
public string ItemsGameUrl { get; set; } | ||
[JsonProperty("items")] | ||
public IList<SchemaItem> Items { get; set; } | ||
[JsonProperty("next")] | ||
public uint Next { get; set; } | ||
} | ||
|
||
public class SchemaItemsResultContainer | ||
{ | ||
[JsonProperty("result")] | ||
public SchemaItemsResult Result { get; set; } | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
src/SteamWebAPI2/Models/GameEconomy/SchemaOverviewResultContainer.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json; | ||
|
||
namespace SteamWebAPI2.Models.GameEconomy | ||
{ | ||
public class SchemaOverviewResult | ||
{ | ||
[JsonProperty("status")] | ||
public uint Status { get; set; } | ||
[JsonProperty("items_game_url")] | ||
public string ItemsGameUrl { get; set; } | ||
[JsonProperty("qualities")] | ||
public SchemaQualities Qualities { get; set; } | ||
[JsonProperty("originNames")] | ||
public IList<SchemaOriginName> OriginNames { get; set; } | ||
[JsonProperty("attributes")] | ||
public IList<SchemaAttribute> Attributes { get; set; } | ||
[JsonProperty("item_sets")] | ||
public IList<SchemaItemSet> ItemSets { get; set; } | ||
[JsonProperty("attribute_controlled_attached_particles")] | ||
public IList<SchemaAttributeControlledAttachedParticle> AttributeControlledAttachedParticles { get; set; } | ||
[JsonProperty("item_levels")] | ||
public IList<SchemaItemLevel> ItemLevels { get; set; } | ||
[JsonProperty("kill_eater_score_types")] | ||
public IList<SchemaKillEaterScoreType> KillEaterScoreTypes { get; set; } | ||
[JsonProperty("string_lookups")] | ||
public IList<SchemaStringLookup> StringLookups { get; set; } | ||
} | ||
|
||
public class SchemaOverviewResultContainer | ||
{ | ||
[JsonProperty("result")] | ||
public SchemaOverviewResult Result { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters