SyncData enhancement
This commit is contained in:
parent
09b61c7dc9
commit
90e29d995a
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user