return color by string, added rounds since maxrounds is not defined in pre-riptide matches

This commit is contained in:
2021-10-08 20:59:14 +02:00
parent cc48365eea
commit cce5c5d072
17 changed files with 283 additions and 18 deletions

View File

@@ -65,6 +65,7 @@ type MatchResponse struct {
Score [2]int `json:"score"`
Duration int `json:"duration"`
MatchResult int `json:"match_result"`
MaxRounds int `json:"max_rounds,omitempty"`
Rounds int `json:"rounds"`
Parsed bool `json:"parsed"`
Stats []*StatsResponse `json:"stats"`