Type
constructor(id: Int, name: String, damageRelations: TypeRelations, pastDamageRelations: List<TypePastDamageRelation>, gameIndices: List<GenerationGameIndex>, generation: Handle.Named<Generation>, moveDamageClass: Handle.Named<MoveDamageClass>?, names: List<Name>, pokemon: List<TypePokemon>, moves: List<Handle.Named<Move>>, sprites: VersionTypeSprites)(source)
Parameters
id
The identifier for this type resource.
name
The name for this type resource.
damage Relations
A detail of how effective this type is toward others and vice versa.
past Damage Relations
A list of details of how effective this type was toward others and vice versa in previous generations.
game Indices
A list of game indices relevent to this item by generation.
generation
The generation this type was introduced in.
move Damage Class
The class of damage inflicted by this type.
names
The name of this type listed in different languages.
pokemon
A list of details of Pokémon that have this type.
moves
A list of moves that have this type.
sprites
Sprites for this type.