Game
public struct Game : Codable, Equatable
Struct representing game related values for Game Challenges.
-
ID of game.
Declaration
Swift
public var id: Int
-
Label of game.
Declaration
Swift
public var label: String
-
Description of game.
Declaration
Swift
public var description: String
-
Page type of game.
Declaration
Swift
public var pageType: String
-
Name of game.
Declaration
Swift
public var name: String
-
Template set version id of game.
Declaration
Swift
public var templateSetVersionId: Int
-
URL of game.
Declaration
Swift
public var url: String
-
Masked URL of game.
Declaration
Swift
public var maskedUrl: String
-
Returns if game requires login.
Declaration
Swift
public var requireLogin: Bool
-
Static files of game.
Declaration
Swift
public var staticFiles: [ContentPage.StaticFile]
-
init(id:
label: description: pageType: name: templateSetVersionId: url: maskedUrl: requireLogin: staticFiles: ) Undocumented
Declaration
Swift
public init(id: Int, label: String, description: String, pageType: String, name: String, templateSetVersionId: Int, url: String, maskedUrl: String, requireLogin: Bool, staticFiles: [ContentPage.StaticFile])
-
Declaration
Swift
public init(from decoder: Decoder) throws