Files
SabreTools/SabreTools.DatItems/Formats/Display.cs

37 lines
880 B
C#
Raw Normal View History

using System.Xml.Serialization;
2020-09-03 13:20:56 -07:00
using Newtonsoft.Json;
2022-11-03 12:22:17 -07:00
using SabreTools.Core;
2020-09-02 21:36:14 -07:00
2021-02-02 10:23:43 -08:00
namespace SabreTools.DatItems.Formats
2020-09-02 21:36:14 -07:00
{
/// <summary>
/// Represents one machine display
/// </summary>
2020-09-08 10:12:41 -07:00
[JsonObject("display"), XmlRoot("display")]
2024-03-10 20:39:54 -04:00
public sealed class Display : DatItem<Models.Metadata.Display>
2020-09-02 21:36:14 -07:00
{
2024-03-10 20:39:54 -04:00
#region Fields
2020-09-02 21:36:14 -07:00
2024-03-10 20:39:54 -04:00
/// <inheritdoc>/>
protected override ItemType ItemType => ItemType.Display;
2023-08-15 01:38:01 -04:00
2024-03-10 20:39:54 -04:00
/// <inheritdoc>/>
protected override string? NameKey => null;
2020-09-02 21:36:14 -07:00
2024-03-10 20:39:54 -04:00
#endregion
2024-03-09 21:46:38 -05:00
2024-03-10 20:39:54 -04:00
#region Constructors
2024-03-09 21:46:38 -05:00
2024-03-10 20:39:54 -04:00
public Display() : base() { }
public Display(Models.Metadata.Display item) : base(item) { }
public Display(Models.Metadata.Video item) : base()
{
// TODO: Determine what transformation is needed here
_internal = item;
2020-09-02 21:36:14 -07:00
}
#endregion
}
}