mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-23 07:14:57 +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.
27 lines
798 B
C#
27 lines
798 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.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; }
|
|
}
|
|
}
|