Game
public struct Game
Represents a game object on SCM, typically received from the game endpoint
-
The game ID
Declaration
Swift
public let id: String
-
Game title
Declaration
Swift
public let title: String
-
Game song count
Declaration
Swift
public let songCount: UInt
-
Initialize a new game object
Throws
SCMError
Declaration
Swift
public init(_ id: String) throws
Parameters
id
The ID of the game on SCM