mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
22 lines
487 B
C#
22 lines
487 B
C#
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;
|
|
}
|
|
}
|
|
} |