2020-12-14 10:58:43 -08:00
|
|
|
|
using System.Xml.Serialization;
|
2020-09-02 16:46:17 -07:00
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
2021-02-02 10:23:43 -08:00
|
|
|
|
namespace SabreTools.DatItems.Formats
|
2020-09-02 16:46:17 -07:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents a single instance of another item
|
|
|
|
|
|
/// </summary>
|
2020-09-08 10:12:41 -07:00
|
|
|
|
[JsonObject("instance"), XmlRoot("instance")]
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public sealed class Instance : DatItem<Models.Metadata.Instance>
|
2020-09-02 16:46:17 -07:00
|
|
|
|
{
|
2024-03-10 20:39:54 -04:00
|
|
|
|
#region Fields
|
2020-09-02 16:46:17 -07:00
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
/// <inheritdoc>/>
|
|
|
|
|
|
protected override ItemType ItemType => ItemType.Instance;
|
2020-09-02 16:46:17 -07:00
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
#region Constructors
|
|
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public Instance() : base() { }
|
2025-01-11 23:34:26 -05:00
|
|
|
|
|
2024-03-10 20:39:54 -04:00
|
|
|
|
public Instance(Models.Metadata.Instance item) : base(item) { }
|
2020-09-02 16:46:17 -07:00
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|