2023-07-13 23:14:39 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.OpenMSX
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Base class to unify the various rom types
|
|
|
|
|
/// </summary>
|
|
|
|
|
public abstract class RomBase
|
|
|
|
|
{
|
|
|
|
|
[XmlElement("start")]
|
|
|
|
|
public string? Start { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("type")]
|
|
|
|
|
public string? Type { get; set; }
|
|
|
|
|
|
2023-08-01 23:18:53 -04:00
|
|
|
/// <remarks>SHA-1 hash</remarks>
|
2023-07-13 23:14:39 -04:00
|
|
|
[XmlElement("hash")]
|
|
|
|
|
public string? Hash { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("remark")]
|
|
|
|
|
public string? Remark { 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
|
|
|
|
|
}
|
|
|
|
|
}
|