SyncData enhancement

This commit is contained in:
Settel 2021-08-09 10:20:25 +02:00
parent 09b61c7dc9
commit 90e29d995a

View File

@ -1,7 +1,13 @@
package syncdata package syncdata
type PlayerInfo struct {
Id string `json:"id"`
Name string `json:"name"`
Active bool `json:"active"`
}
type Gameinfo struct { type Gameinfo struct {
Players []string `json:"players"` Players []PlayerInfo `json:"players"`
} }
type SyncData struct { type SyncData struct {