Skip to content

Commit efcee04

Browse files
committed
change tourmatch request
1 parent 0fb66ad commit efcee04

File tree

1 file changed

+23
-13
lines changed

1 file changed

+23
-13
lines changed

pkg/requests/req.go

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,29 @@ type LobbyConfig struct {
1919
}
2020

2121
type TourMatch struct {
22-
MatchIdx int `json:"matchIdx"`
23-
Region string `json:"region"`
24-
TournamentId int `json:"tournamentId"`
25-
TournamentOwnerId string `json:"tournamentOwnerId"`
26-
Team1Id int `json:"team1Id"`
27-
Team2Id int `json:"team2Id"`
28-
Team1 TeamForMiddleware `json:"team1"`
29-
Team2 TeamForMiddleware `json:"team2"`
30-
Players []PlayerForMiddleware `json:"players"`
31-
StartEpoch int64 `json:"startEpoch"`
32-
NumberOfRounds int `json:"numberOfRounds"`
33-
Cancelled bool `json:"cancelled"`
34-
Iteration int `json:"iteration"`
22+
Region string `json:"region"`
23+
MatchDB string `json:"matchDb"`
24+
MatchId int `json:"matchId"`
25+
MatchIdx int `json:"matchIdx"`
26+
TournamentId int `json:"tournamentId"`
27+
TournamentName string `json:"tournamentName"`
28+
TournamentLogo string `json:"tournamentLogo"`
29+
TournamentOwnerId string `json:"tournamentOwnerId"`
30+
EstimatedTournamentEnd int64 `json:"estimatedTournamentEnd"`
31+
Team1Id int `json:"team1Id"`
32+
Team2Id int `json:"team2Id"`
33+
Map string `json:"map"`
34+
Team1 TeamForMiddleware `json:"team1"`
35+
Team2 TeamForMiddleware `json:"team2"`
36+
Players []PlayerForMiddleware `json:"players"`
37+
Currency string `json:"currency"`
38+
DeadlineEpoch int64 `json:"deadlineEpoch"`
39+
StartEpoch int64 `json:"startEpoch"`
40+
NumberOfRounds int `json:"numberOfRounds"`
41+
Prize int `json:"prize"`
42+
RoundTime int `json:"roundTime"`
43+
Cancelled bool `json:"cancelled"`
44+
Iteration int `json:"iteration"`
3545
}
3646

3747
type TeamForMiddleware struct {

0 commit comments

Comments
 (0)