Add Logiqx deserialization test, fix issues

This commit is contained in:
Matt Nadareski
2023-07-14 00:39:22 -04:00
parent b5fee93a09
commit 034589494d
27 changed files with 84862 additions and 31302 deletions

View File

@@ -9,10 +9,20 @@ namespace SabreTools.Models.Logiqx
[XmlAttribute("name")]
public string Name { get; set; }
[XmlAttribute("machine")]
public Game[]? Game { get; set; }
[XmlElement("game", typeof(Game))]
[XmlElement("machine", typeof(Machine))]
public GameBase[]? Game { get; set; }
[XmlAttribute("machine")]
public Machine[]? Machine { get; set; }
#region DO NOT USE IN PRODUCTION
/// <remarks>Should be empty</remarks>
[XmlAnyAttribute]
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
/// <remarks>Should be empty</remarks>
[XmlAnyElement]
public object[]? ADDITIONAL_ELEMENTS { get; set; }
#endregion
}
}