PKMType
public class PKMType: Mappable
Types are properties for Pokémon and their moves. Each type has three properties: which types of Pokémon it is super effective against, which types of Pokémon it is not very effective against, and which types of Pokémon it is completely ineffective against.
-
The identifier for this type resource
Declaration
Swift
public var id: Int?
-
The name for this type resource
Declaration
Swift
public var name: String?
-
A detail of how effective this type is toward others and vice versa
Declaration
Swift
public var damageRelations: PKMTypeRelations?
-
A list of game indices relevent to this item by generation
Declaration
Swift
public var gameIndices: [PKMGenerationGameIndex]?
-
The generation this type was introduced in
Declaration
Swift
public var generation: PKMNamedAPIResource?
-
The class of damage inflicted by this type
Declaration
Swift
public var moveDamageClass: PKMNamedAPIResource?
-
The name of this type listed in different languages
Declaration
Swift
public var names: [PKMName]?
-
A list of details of Pokémon that have this type
Declaration
Swift
public var pokemon: [PKMTypePokemon]?
-
A list of moves that have this type
Declaration
Swift
public var moves: [PKMNamedAPIResource]?
-
Undocumented
Declaration
Swift
public class PKMType: Mappable
-
Undocumented
Declaration
Swift
public class PKMType: Mappable