Switch

io.github.pidoveproject.showdown.protocol.server.BattleMajorActionMessage.Switch
final case class Switch(pokemon: ActiveId, details: PokemonDetails, condition: Condition, cause: Option[Effect])

A pokemon switched-in.

Value parameters

cause

the optional cause of the switch-in (e.g U-turn, Dragon Tail...)

condition

the health and current status of the switched-in pokemon

details

further details about the switched-in pokemon

pokemon

the switched-in pokemon

Attributes

Source
BattleMajorActionMessage.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product