Add SaveLoadSavePrototype test (#18859)

This commit is contained in:
Leon Friedrich
2023-08-08 19:27:16 +12:00
committed by GitHub
parent b345625de9
commit 6982f238e8
16 changed files with 272 additions and 117 deletions

View File

@@ -27,12 +27,12 @@ public sealed class IntrinsicUIComponent : Component, ISerializationHooks
[DataDefinition]
public struct IntrinsicUIEntry
{
[ViewVariables] public Enum? Key { get; set; } = null;
[ViewVariables] public Enum? Key { get; private set; } = null;
/// <summary>
/// The BUI key that this intrinsic UI should open.
/// </summary>
[DataField("key", readOnly: true, required: true)]
[DataField("key", required: true)]
private string _keyRaw = default!;
/// <summary>