2020-12-14 10:58:43 -08:00
|
|
|
|
using System.Xml.Serialization;
|
2020-09-02 12:19:12 -07:00
|
|
|
|
using Newtonsoft.Json;
|
2020-08-23 22:23:55 -07:00
|
|
|
|
|
2021-02-02 10:23:43 -08:00
|
|
|
|
namespace SabreTools.DatItems.Formats
|
2016-09-19 18:04:24 -07:00
|
|
|
|
{
|
2019-01-08 17:40:12 -08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents a (usually WAV-formatted) sample to be included for use in the set
|
|
|
|
|
|
/// </summary>
|
2020-09-08 10:12:41 -07:00
|
|
|
|
[JsonObject("sample"), XmlRoot("sample")]
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public class Sample : DatItem<Models.Metadata.Sample>
|
2019-01-08 17:40:12 -08:00
|
|
|
|
{
|
2024-03-10 20:39:54 -04:00
|
|
|
|
#region Fields
|
2020-09-02 12:19:12 -07:00
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
/// <inheritdoc>/>
|
|
|
|
|
|
protected override ItemType ItemType => ItemType.Sample;
|
2020-09-02 12:19:12 -07:00
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
2019-01-08 17:40:12 -08:00
|
|
|
|
#region Constructors
|
2016-09-19 18:04:24 -07:00
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public Sample() : base() { }
|
2025-01-11 23:34:26 -05:00
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public Sample(Models.Metadata.Sample item) : base(item) { }
|
2017-01-09 14:37:41 -08:00
|
|
|
|
|
2019-01-08 17:40:12 -08:00
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
2016-09-19 18:04:24 -07:00
|
|
|
|
}
|