add C++, Typescript and more stuff
This commit is contained in:
@@ -16,7 +16,7 @@ namespace KernelPanic.Meta
|
||||
public sealed class SaveService
|
||||
{
|
||||
private const string SaveFileName = "kernel-panic-save.json";
|
||||
public const int CurrentSchemaVersion = 8;
|
||||
public const int CurrentSchemaVersion = 9;
|
||||
private static readonly object FileLock = new();
|
||||
|
||||
public string SavePath { get; }
|
||||
@@ -305,6 +305,7 @@ namespace KernelPanic.Meta
|
||||
public string lastSetupDistroId;
|
||||
public RunCheckpoint activeRun;
|
||||
public List<RunHistoryEntry> recentRuns = new();
|
||||
public List<Language> campaignClearLanguages = new();
|
||||
public string lastRunDistroId;
|
||||
public List<DistroBestWaveSaveEntry> distroBestWaves = new();
|
||||
|
||||
@@ -348,6 +349,7 @@ namespace KernelPanic.Meta
|
||||
runBuildDrafts ??= new List<RunBuildDraftSaveEntry>();
|
||||
foreach (RunBuildDraftSaveEntry draft in runBuildDrafts) draft?.EnsureLists();
|
||||
recentRuns ??= new List<RunHistoryEntry>();
|
||||
campaignClearLanguages ??= new List<Language>();
|
||||
RunHistory.Normalize(recentRuns);
|
||||
if (string.IsNullOrWhiteSpace(lastRunDistroId) && !string.IsNullOrWhiteSpace(lastRunLoadout.distroId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user