0
0
mirror of https://github.com/sp-tarkov/loot-dump-processor.git synced 2025-02-13 05:30:44 -05:00

15 lines
366 B
C#
Raw Normal View History

2023-08-12 19:08:38 +01:00
namespace LootDumpProcessor.Storage;
public abstract class AbstractKey(string[] indexes) : IKey
2023-08-12 19:08:38 +01:00
{
private string[] _indexes = indexes;
2023-08-12 19:08:38 +01:00
public abstract KeyType GetKeyType();
public string SerializedKey
{
get => string.Join("|", _indexes);
set => _indexes = value.Split("|");
2023-08-12 19:08:38 +01:00
}
public string[] GetLookupIndex() => _indexes;
2023-08-12 19:08:38 +01:00
}