PokemonChoice

io.github.pidoveproject.showdown.protocol.server.choice.PokemonChoice
case class PokemonChoice(id: TeamId, details: PokemonDetails, condition: Condition, active: Boolean, stats: Map[StatType, Stat], moves: MoveNames, item: Option[ItemName], pokeball: String, baseAbility: AbilityName, ability: AbilityName, teraType: Option[Type], terastallized: Option[Type])

Information about a selectable pokemon.

Value parameters

ability

the current ability of the pokemon in case of ability change (e.g Mummy, Wandering Spirit, Neutralising Gaz...)

active

true if this pokemon is on the terrain, false otherwise

baseAbility

the base ability of the pokemon

condition

the health and status of the pokemon

details

the details of the pokemon

id

the team id of the pokemon

item

the item held by the pokemon

moves

the moves of the pokemon

pokeball

the pokeball of the pokemon, not used

stats

the stats of the pokemon

teraType

the tera type of the pokemon

terastallized

the type thep pokemon terastallized into

Attributes

Source
PokemonChoice.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product