syncdata: revelation
This commit is contained in:
parent
c4d7278625
commit
0e9799e846
@ -17,10 +17,20 @@ type SourceInfo struct {
|
|||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Votes struct {
|
||||||
|
Count int `json:"count"`
|
||||||
|
Players []string `json:"players"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Revelation struct {
|
||||||
|
Votes map[string]Votes `json:"votes"`
|
||||||
|
}
|
||||||
|
|
||||||
type RoundInfo struct {
|
type RoundInfo struct {
|
||||||
Quote string `json:"quote"`
|
Quote string `json:"quote"`
|
||||||
Sources []SourceInfo `json:"sources"`
|
Sources []SourceInfo `json:"sources"`
|
||||||
Selections map[string]bool `json:"selections"`
|
Selections map[string]bool `json:"selections"`
|
||||||
|
Revelation Revelation `json:"revelation"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GameInfo struct {
|
type GameInfo struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user