Create skeleton of possible DatItem new version

This commit is contained in:
Matt Nadareski
2023-07-30 21:42:57 -04:00
parent 4fe80bcec7
commit 402aaccfec

View File

@@ -0,0 +1,22 @@
using System.Collections.Generic;
namespace SabreTools.DatItems
{
/// <summary>
/// Format-agnostic representation of item data
/// </summary>
public class DatItemDict : Dictionary<string, object>
{
#region Common Keys
public const string NameKey = "name";
#endregion
public string? Name
{
get => ContainsKey(NameKey) ? this[NameKey] as string : null;
set => this[NameKey] = value;
}
}
}