mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Start adding currently-unused models
This commit is contained in:
36
SabreTools.Models/SoftwareList/Rom.cs
Normal file
36
SabreTools.Models/SoftwareList/Rom.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Xml;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace SabreTools.Models.SoftwareList
|
||||
{
|
||||
[XmlRoot("rom")]
|
||||
public class Rom
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[XmlAttribute("size")]
|
||||
public long Size { get; set; }
|
||||
|
||||
[XmlAttribute("crc")]
|
||||
public string? CRC { get; set; }
|
||||
|
||||
[XmlAttribute("sha1")]
|
||||
public string? SHA1 { get; set; }
|
||||
|
||||
/// <remarks>Numeric?</remarks>
|
||||
[XmlAttribute("offset")]
|
||||
public string? Offset { get; set; }
|
||||
|
||||
[XmlAttribute("value")]
|
||||
public string? Value { get; set; }
|
||||
|
||||
/// <remarks>(baddump|nodump|good) "good"</remarks>
|
||||
[XmlAttribute("status")]
|
||||
public string? Status { get; set; }
|
||||
|
||||
/// <remarks>(load16_byte|load16_word|load16_word_swap|load32_byte|load32_word|load32_word_swap|load32_dword|load64_word|load64_word_swap|reload|fill|continue|reload_plain|ignore)</remarks>
|
||||
[XmlAttribute("loadflag")]
|
||||
public string? LoadFlag { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user