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
26 lines
743 B
C#
26 lines
743 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Models.Xbox
|
|
{
|
|
/// <summary>
|
|
/// List of image files associated with a package in catalog.js
|
|
/// </summary>
|
|
public class Image
|
|
{
|
|
/// <summary>
|
|
/// "size":
|
|
/// String representing image size
|
|
/// Known values: "100x100", "208x208", "480x480"
|
|
/// </summary>
|
|
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// "image":
|
|
/// File name of image within MSXC/Metadata/<PackageName>/
|
|
/// </summary>
|
|
[JsonProperty("image", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Name { get; set; }
|
|
}
|
|
}
|