mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-24 07:09:42 +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.
29 lines
930 B
C#
29 lines
930 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.VDF
|
|
{
|
|
/// <summary>
|
|
/// Contains metadata information about retail Steam discs
|
|
/// Stored in a VDF file on the disc
|
|
/// </summary>
|
|
/// <remarks>Stored in the order it appears in the sku sis file, as it is always the same order.</remarks>
|
|
[JsonObject]
|
|
public class SkuSis
|
|
{
|
|
// At the moment, the only keys that matter for anything in SabreTools are sku, apps, depots, and manifests
|
|
// TODO: check case sensitivity
|
|
#region Non-Arrays
|
|
|
|
/// <summary>
|
|
/// "sku"
|
|
/// Top-level value for sku.sis files.
|
|
/// Known values: the entire sku.sis object
|
|
/// </summary>
|
|
/// <remarks>capital SKU on sim/sid, lowercase sku on csm/csd</remarks>
|
|
[JsonProperty("sku", NullValueHandling = NullValueHandling.Ignore)]
|
|
public Sku? Sku { get; set; }
|
|
|
|
#endregion
|
|
}
|
|
}
|