BaseGame
public struct BaseGame : Decodable
A simplified Game object
-
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?
-
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?