2023-07-12 09:27:18 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.OfflineList
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("game")]
|
|
|
|
|
public class Game
|
|
|
|
|
{
|
|
|
|
|
[XmlElement("imageNumber")]
|
|
|
|
|
public string? ImageNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("releaseNumber")]
|
|
|
|
|
public string? ReleaseNumber { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("title")]
|
|
|
|
|
public string? Title { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("saveType")]
|
|
|
|
|
public string? SaveType { get; set; }
|
|
|
|
|
|
2023-07-31 16:11:27 -04:00
|
|
|
/// <remarks>Numeric</remarks>
|
2023-07-12 09:27:18 -04:00
|
|
|
[XmlElement("romSize")]
|
2023-07-31 16:11:27 -04:00
|
|
|
public string? RomSize { get; set; }
|
2023-07-12 09:27:18 -04:00
|
|
|
|
|
|
|
|
[XmlElement("publisher")]
|
|
|
|
|
public string? Publisher { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("location")]
|
|
|
|
|
public string? Location { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("sourceRom")]
|
|
|
|
|
public string? SourceRom { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("language")]
|
|
|
|
|
public string? Language { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("files")]
|
|
|
|
|
public Files? Files { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("im1CRC")]
|
|
|
|
|
public string? Im1CRC { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("im2CRC")]
|
|
|
|
|
public string? Im2CRC { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("comment")]
|
|
|
|
|
public string? Comment { get; set; }
|
|
|
|
|
|
2023-07-12 23:40:20 -04:00
|
|
|
[XmlElement("duplicateID")]
|
2023-07-12 09:27:18 -04:00
|
|
|
public string? DuplicateID { get; set; }
|
2023-07-12 23:40:20 -04:00
|
|
|
|
|
|
|
|
#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
|
2023-07-12 09:27:18 -04:00
|
|
|
}
|
|
|
|
|
}
|