Files
galaxy-game/internal/model/rest/status.go
T
Ilia Denisov d9c8de27e5 refactor: executors and routers
* refactor: executors and routers
2026-02-09 15:53:34 +03:00

17 lines
355 B
Go

package rest
import "github.com/google/uuid"
type StateResponse struct {
ID uuid.UUID `json:"id"`
Turn uint `json:"turn"`
Stage uint `json:"stage"`
Players []PlayerState `json:"player"`
}
type PlayerState struct {
ID uuid.UUID `json:"id"`
Name string `json:"name"`
Extinct bool `json:"extinct"`
}