32 lines
883 B
C#
32 lines
883 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using KernelPanic.Core;
|
|
using KernelPanic.Data;
|
|
|
|
namespace KernelPanic.Meta
|
|
{
|
|
/// <summary>Unfinished run setup; package slots are stored in the existing per-distro package loadouts.</summary>
|
|
[Serializable]
|
|
public sealed class RunBuildDraftSaveEntry
|
|
{
|
|
public string distroId;
|
|
public List<string> cardIds = new();
|
|
public List<Language> languages = new();
|
|
|
|
public void EnsureLists()
|
|
{
|
|
cardIds ??= new List<string>();
|
|
languages ??= new List<Language>();
|
|
}
|
|
}
|
|
|
|
/// <summary>Frozen package identity and upgrade level for reproducing the previous build.</summary>
|
|
[Serializable]
|
|
public sealed class RunBuildPackageSaveEntry
|
|
{
|
|
public string packageId;
|
|
public PackageSlot slot;
|
|
public int upgradeLevel;
|
|
}
|
|
}
|