mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
35 lines
850 B
C#
35 lines
850 B
C#
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; }
|
|
|
|
[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
|
|
}
|
|
} |