mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
40 lines
947 B
C#
40 lines
947 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
using SabreTools.Core;
|
|
|
|
namespace SabreTools.DatItems.Formats
|
|
{
|
|
/// <summary>
|
|
/// Represents one part feature object
|
|
/// </summary>
|
|
[JsonObject("part_feature"), XmlRoot("part_feature")]
|
|
public sealed class PartFeature : DatItem<Models.Metadata.Feature>
|
|
{
|
|
#region Constants
|
|
|
|
/// <summary>
|
|
/// Non-standard key for inverted logic
|
|
/// </summary>
|
|
public const string PartKey = "PART";
|
|
|
|
#endregion
|
|
|
|
#region Fields
|
|
|
|
/// <inheritdoc>/>
|
|
protected override ItemType ItemType => ItemType.PartFeature;
|
|
|
|
/// <inheritdoc>/>
|
|
protected override string? NameKey => Models.Metadata.Feature.NameKey;
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public PartFeature() : base() { }
|
|
public PartFeature(Models.Metadata.Feature item) : base(item) { }
|
|
|
|
#endregion
|
|
}
|
|
}
|