Misc state-handling changes (#16444)

This commit is contained in:
Leon Friedrich
2023-05-15 14:22:17 +12:00
committed by GitHub
parent a23de2f219
commit b20cc6f4d3
6 changed files with 29 additions and 13 deletions

View File

@@ -22,6 +22,9 @@ public sealed class ActionsComponentState : ComponentState
{
public readonly List<ActionType> Actions;
[NonSerialized]
public SortedSet<ActionType>? SortedActions;
public ActionsComponentState(List<ActionType> actions)
{
Actions = actions;