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,65 @@
using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.Models.Logiqx
{
[XmlRoot("header")]
public class Header
{
[XmlAttribute("name")]
public string Name { get; set; }
[XmlElement("description")]
public string Description { get; set; }
[XmlElement("category")]
public string? Category { get; set; }
[XmlElement("version")]
public string Version { get; set; }
[XmlElement("date")]
public string? Date { get; set; }
[XmlElement("author")]
public string Author { get; set; }
[XmlElement("email")]
public string? Email { get; set; }
[XmlElement("homepage")]
public string? Homepage { get; set; }
[XmlElement("url")]
public string? Url { get; set; }
[XmlElement("comment")]
public string? Comment { get; set; }
[XmlElement("clrmamepro")]
public ClrMamePro? ClrMamePro { get; set; }
[XmlElement("romcenter")]
public RomCenter? RomCenter { get; set; }
#region No-Intro Extensions
/// <remarks>Appears at very top</remarks>
[XmlElement("id")]
public string? Id { get; set; }
#endregion
#region Trurip Extensions
/// <remarks>Appears after Description</remarks>
[XmlElement("rootdir")]
public string? RootDir { get; set; }
/// <remarks>Appears after Comment</remarks>
[XmlElement("type")]
public string? Type { get; set; }
#endregion
}
}