Move RTS menu panel authority to daemon
This commit is contained in:
parent
e4b155576f
commit
b86635fda5
15 changed files with 361 additions and 195 deletions
26
Aetheria.State/Documents/AetheriaMainMenuState.cs
Normal file
26
Aetheria.State/Documents/AetheriaMainMenuState.cs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
using GameCult.Caching;
|
||||
using MessagePack;
|
||||
|
||||
namespace Aetheria.State.Documents;
|
||||
|
||||
[CultDocument("aetheria.main_menu_state", "aetheria.main_menu_state.v1")]
|
||||
[CultGlobal]
|
||||
[MessagePackObject]
|
||||
public sealed class AetheriaMainMenuState
|
||||
{
|
||||
[Key(0)]
|
||||
[CultName]
|
||||
public string Name { get; set; } = "Aetheria main menu state";
|
||||
|
||||
[Key(1)]
|
||||
public string ActiveSurfaceId { get; set; } = "";
|
||||
|
||||
[Key(2)]
|
||||
public string LastCommandId { get; set; } = "";
|
||||
|
||||
[Key(3)]
|
||||
public string LastCommand { get; set; } = "";
|
||||
|
||||
[Key(4)]
|
||||
public string UpdatedAtUtc { get; set; } = "";
|
||||
}
|
||||
Loading…
Reference in a new issue