mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
63 lines
1.4 KiB
C#
63 lines
1.4 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.OfflineList
|
|
{
|
|
public class InfoBase
|
|
{
|
|
/// <remarks>Boolean</remarks>
|
|
[XmlAttribute("visible")]
|
|
public string? Visible { get; set; }
|
|
|
|
/// <remarks>Boolean</remarks>
|
|
[XmlAttribute("inNamingOption")]
|
|
public string? InNamingOption { get; set; }
|
|
|
|
/// <remarks>Boolean</remarks>
|
|
[XmlAttribute("default")]
|
|
public string? Default { get; set; }
|
|
}
|
|
|
|
[XmlRoot("title")]
|
|
public class Title : InfoBase { }
|
|
|
|
[XmlRoot("location")]
|
|
public class Location : InfoBase { }
|
|
|
|
[XmlRoot("publisher")]
|
|
public class Publisher : InfoBase { }
|
|
|
|
[XmlRoot("sourceRom")]
|
|
public class SourceRom : InfoBase { }
|
|
|
|
[XmlRoot("saveType")]
|
|
public class SaveType : InfoBase { }
|
|
|
|
[XmlRoot("romSize")]
|
|
public class RomSize : InfoBase { }
|
|
|
|
[XmlRoot("releaseNumber")]
|
|
public class ReleaseNumber : InfoBase { }
|
|
|
|
[XmlRoot("imageNumber")]
|
|
public class ImageNumber : InfoBase { }
|
|
|
|
[XmlRoot("languageNumber")]
|
|
public class LanguageNumber : InfoBase { }
|
|
|
|
[XmlRoot("comment")]
|
|
public class Comment : InfoBase { }
|
|
|
|
[XmlRoot("romCRC")]
|
|
public class RomCRC : InfoBase { }
|
|
|
|
[XmlRoot("im1CRC")]
|
|
public class Im1CRC : InfoBase { }
|
|
|
|
[XmlRoot("im2CRC")]
|
|
public class Im2CRC : InfoBase { }
|
|
|
|
[XmlRoot("languages")]
|
|
public class Languages : InfoBase { }
|
|
}
|