using System.Text.Json.Serialization; using LootDumpProcessor.Utils; using Newtonsoft.Json; namespace LootDumpProcessor.Storage.Collections; public class FlatKeyableDictionary : Dictionary, IKeyable { [JsonProperty("__id__")] [JsonPropertyName("__id__")] public string __ID { get; set; } = KeyGenerator.GetNextKey(); public IKey GetKey() { return new FlatUniqueKey([__ID]); } }