GameExtendedInfo

public struct GameExtendedInfo: ResourceExtendedInfo

Struct containing extended information for GameResources. To retrieve, call fetchExtendedInfo(_:) upon the original resource then access the data on the resource’s extendedInfo property.

  • Characters related to the game.

    Declaration

    Swift

    public fileprivate(set) var characters: [CharacterResource]?
  • Concepts related to the game.

    Declaration

    Swift

    public fileprivate(set) var concepts: [ConceptResource]?
  • Companies who developed the game.

    Declaration

    Swift

    public fileprivate(set) var developers: [CompanyResource]?
  • Expected date the game will be released. The extended info version of this date also includes the day of release.

    Declaration

    Swift

    public fileprivate(set) var expected_release_date: Date?
  • Characters that first appeared in the game.

    Declaration

    Swift

    public fileprivate(set) var first_appearance_characters: [CharacterResource]?
  • Concepts that first appeared in the game.

    Declaration

    Swift

    public fileprivate(set) var first_appearance_concepts: [ConceptResource]?
  • Locations that first appeared in the game.

    Declaration

    Swift

    public fileprivate(set) var first_appearance_locations: [LocationResource]?
  • Objects that first appeared in the game.

    Declaration

    Swift

    public fileprivate(set) var first_appearance_objects: [ObjectResource]?
  • People that were first credited in the game.

    Declaration

    Swift

    public fileprivate(set) var first_appearance_people: [PersonResource]?
  • Franchises related to the game.

    Declaration

    Swift

    public fileprivate(set) var franchises: [FranchiseResource]?
  • Genres that encompass the game.

    Declaration

    Swift

    public fileprivate(set) var genres: [GenreResource]?
  • List of images associated to the game.

    Declaration

    Swift

    public fileprivate(set) var images: [ImageURLs]?
  • Characters killed in the game.

    Declaration

    Swift

    public fileprivate(set) var killed_characters: [CharacterResource]?
  • Locations related to the game.

    Declaration

    Swift

    public fileprivate(set) var locations: [LocationResource]?
  • Objects related to the game.

    Declaration

    Swift

    public fileprivate(set) var objects: [ObjectResource]?
  • Rating of the first release of the game.

    Declaration

    Swift

    public fileprivate(set) var original_game_rating: [(id: Int, name: String)]?
  • People who have worked with the game.

    Declaration

    Swift

    public fileprivate(set) var people: [PersonResource]?
  • Companies who published the game.

    Declaration

    Swift

    public fileprivate(set) var publishers: [CompanyResource]?
  • Releases of the game.

    Declaration

    Swift

    public fileprivate(set) var releases: [GameReleaseResource]?
  • Staff reviews of the game.

    Declaration

    Swift

    public fileprivate(set) var reviews: [StaffReviewResource]?
  • Other games similar to the game.

    Declaration

    Swift

    public fileprivate(set) var similar_games: [GameResource]?
  • Themes that encompass the game.

    Declaration

    Swift

    public fileprivate(set) var themes: [(id: Int, name: String)]?
  • Videos associated to the game.

    Declaration

    Swift

    public fileprivate(set) var videos: [VideoURLs]?
  • Used to create a GameExtendedInfo from JSON.

    Declaration

    Swift

    public init(json: [String : AnyObject])
  • A method used for updating structs. Usually after further requests for more field data.

    Declaration

    Swift

    public mutating func update(_ json: [String : AnyObject])