Files
SabreTools/SabreTools.DatItems/Formats/Chip.cs

30 lines
699 B
C#
Raw Normal View History

using System.Xml.Serialization;
2020-08-25 22:48:46 -07:00
using Newtonsoft.Json;
2021-02-02 10:23:43 -08:00
namespace SabreTools.DatItems.Formats
2020-08-25 22:48:46 -07:00
{
/// <summary>
/// Represents which Chip(s) is associated with a set
/// </summary>
2020-09-08 10:12:41 -07:00
[JsonObject("chip"), XmlRoot("chip")]
2024-03-10 20:39:54 -04:00
public sealed class Chip : DatItem<Models.Metadata.Chip>
2020-08-25 22:48:46 -07:00
{
2024-03-10 20:39:54 -04:00
#region Fields
2020-08-25 22:48:46 -07:00
2024-03-10 20:39:54 -04:00
/// <inheritdoc>/>
protected override ItemType ItemType => ItemType.Chip;
2020-09-02 12:19:12 -07:00
2024-03-10 20:39:54 -04:00
/// <inheritdoc>/>
protected override string? NameKey => Models.Metadata.Chip.NameKey;
2020-08-25 22:48:46 -07:00
#endregion
#region Constructors
2024-03-10 20:39:54 -04:00
public Chip() : base() { }
public Chip(Models.Metadata.Chip item) : base(item) { }
2020-08-25 22:48:46 -07:00
#endregion
}
}