mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-11 08:43:03 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
26 lines
748 B
C#
26 lines
748 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.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; }
|
|
}
|
|
}
|