mirror of
https://github.com/sp-tarkov/loot-dump-processor.git
synced 2025-02-13 09:10:45 -05:00
The changes include: - Replaced Newtonsoft.Json with System.Text.Json for serialization - Removed redundant JsonProperty attributes and simplified model classes - Converted static fields to constants where appropriate - Improved code formatting and readability - Simplified method bodies and expressions - Removed unused imports and cleaned up namespaces
14 lines
322 B
C#
14 lines
322 B
C#
namespace LootDumpProcessor.Storage;
|
|
|
|
public abstract class AbstractKey(string[] indexes) : IKey
|
|
{
|
|
public abstract KeyType GetKeyType();
|
|
|
|
public string SerializedKey
|
|
{
|
|
get => string.Join("|", indexes);
|
|
set => indexes = value.Split("|");
|
|
}
|
|
|
|
public string[] GetLookupIndex() => indexes;
|
|
} |