LocationArea

constructor(id: Int, name: String, gameIndex: Int, encounterMethodRates: List<EncounterMethodRate>, location: Handle.Named<Location>, names: List<Name>, pokemonEncounters: List<PokemonEncounter>)(source)

Parameters

id

The identifier for this resource.

name

The name for this resource.

gameIndex

The internal id of an API resource within game data.

encounterMethodRates

A list of methods in which Pokémon may be encountered in this area and how likely the method is to occur depending on the version of the game.

location

The location this area can be found in.

names

The name of this resource listed in different languages.

pokemonEncounters

A list of Pokémon that can be encountered in this area along with version specific details about the encounter.