2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Listxml
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("chip")]
|
|
|
|
|
public class Chip
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("name")]
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlAttribute("tag")]
|
|
|
|
|
public string? Tag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(cpu|audio)</remarks>
|
|
|
|
|
[XmlAttribute("type")]
|
|
|
|
|
public string Type { get; set; }
|
|
|
|
|
|
2023-07-14 11:09:57 -04:00
|
|
|
/// <remarks>Only present in older versions</remarks>
|
|
|
|
|
[XmlAttribute("soundonly")]
|
2023-08-01 12:03:12 -04:00
|
|
|
public string? SoundOnly { get; set; }
|
2023-07-14 11:09:57 -04:00
|
|
|
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("clock")]
|
|
|
|
|
public string? Clock { get; set; }
|
2023-07-12 21:54:18 -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
|
|
|
}
|
|
|
|
|
}
|