mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
* XboxOne catalog.js model * Split Catalog object, bump version * Minor fixes * Custom JsonConverter for launchPackage * Make launchPackage an abstract object * Don't ignore packages * Fix field types for Catalog/Package
33 lines
1012 B
C#
33 lines
1012 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Models.Xbox
|
|
{
|
|
/// <summary>
|
|
/// Extra attributes relating to package, in catalog.js
|
|
/// </summary>
|
|
public class Attribute
|
|
{
|
|
/// <summary>
|
|
/// "supports4k":
|
|
/// True if package supports 4K, false otherwise
|
|
/// </summary>
|
|
[JsonProperty("supports4k", NullValueHandling = NullValueHandling.Ignore)]
|
|
public bool? Supports4K { get; set; }
|
|
|
|
/// <summary>
|
|
/// "supportsHdr":
|
|
/// True if package supports HDR, false otherwise
|
|
/// </summary>
|
|
[JsonProperty("supportsHdr", NullValueHandling = NullValueHandling.Ignore)]
|
|
public bool? SupportsHDR { get; set; }
|
|
|
|
/// <summary>
|
|
/// "isXboxOneXEnhanced":
|
|
/// True if package is XboxOne X enhanced, false otherwise
|
|
/// </summary>
|
|
[JsonProperty("isXboxOneXEnhanced", NullValueHandling = NullValueHandling.Ignore)]
|
|
public bool? IsXboxOneXEnhanced { get; set; }
|
|
|
|
}
|
|
}
|