forked from RobWC/riotapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.go
26 lines (24 loc) · 874 Bytes
/
game.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package riotapi
// RecentGames recent games played by a summoner
type RecentGames struct {
Games []*Game `json:"games"`
SummonerID int `json:"summonerid"`
}
// Game a game record
type Game struct {
ChampionID int `json:"championId"`
CreateDate int `json:"createDate"`
FellowPlayers []*Player `json:"fellowPlayers"`
GameID int `json:"gameId"`
GameMode string `json:"gameMode"`
GameType string `json:"gameType"`
Invalid bool `json:"invalid"`
IPEarned int `json:"ipEarned"`
Level int `json:"level"`
MapID int `json:"mapId"`
Spell1 int `json:"spell1"`
Spell2 int `json:"spell2"`
Stats *RawStats `json:"stats"`
SubType string `json:"subType"`
TeamId int `json:"teamId"`
}