2024-04-16 18:29:40 +00:00
|
|
|
using System.Text.Json.Serialization;
|
2023-08-12 19:08:38 +01:00
|
|
|
using LootDumpProcessor.Storage;
|
2024-04-16 18:29:40 +00:00
|
|
|
using LootDumpProcessor.Utils;
|
2023-08-12 19:08:38 +01:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
namespace LootDumpProcessor.Model.Processing;
|
|
|
|
|
|
|
|
public class LooseLootCounts : IKeyable
|
|
|
|
{
|
|
|
|
[JsonProperty("__id__")]
|
|
|
|
[JsonPropertyName("__id__")]
|
2024-04-16 18:29:40 +00:00
|
|
|
public string __ID { get; set; } = KeyGenerator.GetNextKey();
|
2023-08-12 19:08:38 +01:00
|
|
|
|
|
|
|
public IKey Counts { get; set; }
|
|
|
|
|
|
|
|
// public IKey Items { get; set; }
|
|
|
|
public IKey ItemProperties { get; set; }
|
|
|
|
public List<int> MapSpawnpointCount { get; set; } = new();
|
|
|
|
|
|
|
|
public IKey GetKey()
|
|
|
|
{
|
|
|
|
return new FlatUniqueKey(new[] { __ID });
|
|
|
|
}
|
|
|
|
}
|