PKMLocationArea

public class PKMLocationArea: Mappable

Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.

  • id

    The identifier for this location resource

    Declaration

    Swift

    public var id: Int?
  • The name for this location resource

    Declaration

    Swift

    public var name: String?
  • The internal id of an API resource within game data

    Declaration

    Swift

    public var gameIndex: Int?
  • A list of methods in which Pokémon may be encountered in this area and how likely the method will occur depending on the version of the game

    Declaration

    Swift

    public var encounterMethodRates: [PKMEncounterMethodRate]?
  • The region this location can be found in

    Declaration

    Swift

    public var location: PKMNamedAPIResource?
  • The name of this location area listed in different languages

    Declaration

    Swift

    public var names: [PKMName]?
  • A list of Pokémon that can be encountered in this area along with version specific details about the encounter

    Declaration

    Swift

    public var pokemonEncounters: [PKMPokemonEncounter]?
  • Undocumented

    Declaration

    Swift

    public class PKMLocationArea: Mappable
  • Undocumented

    Declaration

    Swift

    public class PKMLocationArea: Mappable