2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.SoftwareList
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("dataarea")]
|
|
|
|
|
public class DataArea
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("size")]
|
2023-07-12 22:38:40 -04:00
|
|
|
public string Size { get; set; }
|
2023-07-11 23:39:54 -04:00
|
|
|
|
|
|
|
|
/// <remarks>(8|16|32|64) "8"</remarks>
|
|
|
|
|
[XmlAttribute("width")]
|
2023-07-12 22:38:40 -04:00
|
|
|
public string? Width { get; set; }
|
2023-07-11 23:39:54 -04:00
|
|
|
|
|
|
|
|
/// <remarks>(big|little) "little"</remarks>
|
|
|
|
|
[XmlAttribute("endianness")]
|
|
|
|
|
public string? Endianness { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("rom")]
|
|
|
|
|
public Rom[]? Rom { get; set; }
|
2023-07-12 22:38:40 -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-11 23:39:54 -04:00
|
|
|
}
|
|
|
|
|
}
|