Added additional steamapp sections.
This commit is contained in:
parent
64475fcda0
commit
ba7b79dfc4
@ -22,7 +22,7 @@ namespace SteamStorefrontAPI.Classes
|
||||
public int SteamAppid { get; set; }
|
||||
|
||||
[JsonProperty("required_age")]
|
||||
public string RequiredAge { get; set; }
|
||||
public int RequiredAge { get; set; }
|
||||
|
||||
[JsonProperty("is_free")]
|
||||
public bool IsFree { get; set; }
|
||||
@ -105,6 +105,16 @@ namespace SteamStorefrontAPI.Classes
|
||||
[JsonProperty("background")]
|
||||
public string Background { get; set; }
|
||||
|
||||
[JsonProperty("controller_support", NullValueHandling = NullValueHandling.Ignore)]
|
||||
[JsonConverter(typeof(ControllerSupportConverter))]
|
||||
public ControllerSupport? ControllerSupport { get; set; }
|
||||
|
||||
[JsonProperty("dlc")]
|
||||
public List<int> DLC { get; set; }
|
||||
|
||||
[JsonProperty("reviews")]
|
||||
public List<string> Reviews { get; set; }
|
||||
|
||||
public static SteamApp FromJson(string json) {
|
||||
|
||||
var serializerSettings = new JsonSerializerSettings
|
||||
|
Loading…
Reference in New Issue
Block a user