Update Logiqx DTD, add models (nw)

This commit is contained in:
Matt Nadareski
2023-07-12 10:40:21 -04:00
parent 14e765bcf5
commit 13af5a4f50
16 changed files with 707 additions and 35 deletions

View File

@@ -0,0 +1,33 @@
using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.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; }
[XmlElement("header")]
public Header? Header { get; set; }
[XmlElement("game")]
public Game[]? Game { get; set; }
[XmlElement("machine")]
public Machine[]? Machine { get; set; }
#region RomVault Extensions
/// <remarks>Boolean; Appears after Header</remarks>
[XmlAttribute("dir")]
public Dir[]? Dir { get; set; }
#endregion
}
}