mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-20 21:29:48 +00:00
30 lines
711 B
C#
30 lines
711 B
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
using SabreTools.Data.Models.Metadata;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("chip")]
|
|
public class Chip
|
|
{
|
|
[Required]
|
|
[XmlAttribute("name")]
|
|
public string? Name { get; set; }
|
|
|
|
[XmlAttribute("tag")]
|
|
public string? Tag { get; set; }
|
|
|
|
/// <remarks>(cpu|audio)</remarks>
|
|
[Required]
|
|
[XmlAttribute("type")]
|
|
public ChipType? Type { get; set; }
|
|
|
|
/// <remarks>Only present in older versions</remarks>
|
|
[XmlAttribute("soundonly")]
|
|
public bool? SoundOnly { get; set; }
|
|
|
|
[XmlAttribute("clock")]
|
|
public long? Clock { get; set; }
|
|
}
|
|
}
|