Game
public struct Game : Decodable
A League of Legends Game
-
Game ID
Declaration
Swift
public let id: Int
-
Game position in a series of games
Declaration
Swift
public let position: Int
-
The start of the match
Declaration
Swift
public let begin: Date?
-
Game has ended
Declaration
Swift
public let finished: Bool?
-
Game length (seconds)
Declaration
Swift
public let length: Int?
-
Array of players
Declaration
Swift
public let players: [GamePlayer]
-
The participating teams
Declaration
Swift
public let teams: [GameTeam]
-
Full match reference
Declaration
Swift
public let match: FullGameMatch
-
Match reference ID
Declaration
Swift
public let matchID: Int
-
Winner object, with reference to the team ID
Declaration
Swift
public let winner: Winner
-
The type (player/team)
Declaration
Swift
public let winnerType: OpponentType?