mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 23:57:18 +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
27 lines
793 B
C#
27 lines
793 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Models.Xbox
|
|
{
|
|
/// <summary>
|
|
/// Package Title for each locale, for catalog.js
|
|
/// </summary>
|
|
public class Title
|
|
{
|
|
/// <summary>
|
|
/// "locale":
|
|
/// String representing locale that this title is in
|
|
/// Known values: "default", "en", "de", "fr", "ar", "zh-hans",
|
|
/// "zh-hant", "zh-TW", "zh-HK", "zh-CN", "zh-SG", etc
|
|
/// </summary>
|
|
[JsonProperty("locale", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Locale { get; set; }
|
|
|
|
/// <summary>
|
|
/// "title":
|
|
/// Package title
|
|
/// </summary>
|
|
[JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)]
|
|
public string? Name { get; set; }
|
|
}
|
|
}
|