PKMItem

public class PKMItem: Mappable

An item is an object in the games which the player can pick up, keep in their bag, and use in some manner. They have various uses, including healing, powering up, helping catch Pokémon, or to access a new area.

  • id

    The identifier for this item resource

    Declaration

    Swift

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

    Declaration

    Swift

    public var name: String?
  • The price of this item in stores

    Declaration

    Swift

    public var cost: Int?
  • The power of the move Fling when used with this item.

    Declaration

    Swift

    public var fling_power: Int?
  • The effect of the move Fling when used with this item

    Declaration

    Swift

    public var fling_effect: PKMNamedAPIResource?
  • A list of attributes this item has

    Declaration

    Swift

    public var attributes: [PKMNamedAPIResource]?
  • The category of items this item falls into

    Declaration

    Swift

    public var category: PKMNamedAPIResource?
  • The effect of this ability listed in different languages

    Declaration

    Swift

    public var effect_entries: [PKMVerboseEffect]?
  • The flavor text of this ability listed in different languages

    Declaration

    Swift

    public var flavor_text_entries: [PKMVersionGroupFlavorText]?
  • A list of game indices relevent to this item by generation

    Declaration

    Swift

    public var game_indices: [PKMGenerationGameIndex]?
  • The name of this item listed in different languages

    Declaration

    Swift

    public var names: [PKMName]?
  • A set of sprites used to depict this item in the game

    Declaration

    Swift

    public var sprites: PKMItemSprites?
  • A list of Pokémon that might be found in the wild holding this item

    Declaration

    Swift

    public var held_by_pokemon: [PKMNamedAPIResource]?
  • An evolution chain this item requires to produce a bay during mating

    Declaration

    Swift

    public var baby_trigger_for: [PKMAPIResource]?
  • Undocumented

    Declaration

    Swift

    public class PKMItem: Mappable
  • Undocumented

    Declaration

    Swift

    public class PKMItem: Mappable