refactor: storage namings

This commit is contained in:
Ilia Denisov
2026-03-14 21:40:26 +02:00
parent ac3ed31a23
commit 70a43237ca
5 changed files with 37 additions and 33 deletions
+4 -2
View File
@@ -28,8 +28,10 @@ func (i GameID) String() string {
type State struct {
// TODO: store user's login key
GameState []GameState `json:"gameState"`
ActiveGameID GameID `json:"activeGameId"`
ClientCurrentVersion string `json:"clientCurrentVersion"`
ClientNextVersion *string `json:"clientNextVersion,omitempty"`
GameState []GameState `json:"gameState"`
ActiveGameID GameID `json:"activeGameId"`
}
type GameState struct {