Files
SabreTools.Serialization/SabreTools.Data.Models/Logiqx/Datafile.cs
Matt Nadareski 7689c6dd07 Libraries
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.
2026-03-21 16:26:56 -04:00

32 lines
906 B
C#

using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.Data.Models.Logiqx
{
[XmlRoot("datafile")]
public class Datafile
{
[XmlAttribute("build")]
public string? Build { get; set; }
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("debug")]
public string? Debug { get; set; }
/// <remarks>No-Intro extension</remarks>
[XmlAttribute(Namespace = "http://www.w3.org/2001/XMLSchema-instance", AttributeName = "schemaLocation")]
public string? SchemaLocation { get; set; }
[XmlElement("header")]
public Header? Header { get; set; }
[XmlElement("game", typeof(Game))]
[XmlElement("machine", typeof(Machine))]
public GameBase[]? Game { get; set; }
/// <remarks>RomVault extension</remarks>
[XmlElement("dir")]
public Dir[]? Dir { get; set; }
}
}