mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
30 lines
738 B
C#
30 lines
738 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.DatItems.Formats
|
|
{
|
|
/// <summary>
|
|
/// Represents a (usually WAV-formatted) sample to be included for use in the set
|
|
/// </summary>
|
|
[JsonObject("sample"), XmlRoot("sample")]
|
|
public class Sample : DatItem<Models.Metadata.Sample>
|
|
{
|
|
#region Fields
|
|
|
|
/// <inheritdoc>/>
|
|
protected override ItemType ItemType => ItemType.Sample;
|
|
|
|
/// <inheritdoc>/>
|
|
protected override string? NameKey => Models.Metadata.Sample.NameKey;
|
|
|
|
#endregion
|
|
|
|
#region Constructors
|
|
|
|
public Sample() : base() { }
|
|
public Sample(Models.Metadata.Sample item) : base(item) { }
|
|
|
|
#endregion
|
|
}
|
|
}
|