DataCommand

io.github.pidoveproject.showdown.protocol.client.DataCommand
See theDataCommand companion object

A command related to Showdown data, e.g pokedex.

Attributes

Companion
object
Source
DataCommand.scala
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class Coverage(moves: List[MoveName])

Check the type coverage of a list of moves.

Check the type coverage of a list of moves.

Value parameters

moves

the moves to test

Attributes

Source
DataCommand.scala
final case class Data(data: SpeciesName | ItemName | MoveName | AbilityName | Nature)

Get the data of a pokedex entry.

Get the data of a pokedex entry.

Value parameters

data

either a species, an item, a move, an ability or a nature

Attributes

Source
DataCommand.scala
final case class DexSearch(query: String)

Search in the pokedex.

Search in the pokedex.

Value parameters

query

the search query

Attributes

Source
DataCommand.scala
final case class Effectiveness(attacker: MoveName | Type, defender: SpeciesName | Type)

Get the effectiveness of a move or type against a pokemon or another type.

Get the effectiveness of a move or type against a pokemon or another type.

Value parameters

attacker

the attacking type or move

defender

the defending type or species

Attributes

Source
DataCommand.scala
final case class ItemSearch(query: String)

Search for an item.

Search for an item.

Value parameters

query

the search query

Attributes

Source
DataCommand.scala
final case class Learn(ruleset: Option[Generation | FormatName], pokemon: SpeciesName, moves: List[MoveName])

Check how a given pokemon can learn a move.

Check how a given pokemon can learn a move.

Value parameters

moves

the list of moves to check

pokemon

the move learner

ruleset

the criteria to respect

Attributes

Source
DataCommand.scala
final case class MoveSearch(query: String)

Search for a move.

Search for a move.

Value parameters

query

the search query

Attributes

Source
DataCommand.scala
final case class RandomMove(criteria: Option[String])

Search for a random move.

Search for a random move.

Value parameters

criteria

optional search query

Attributes

Source
DataCommand.scala
final case class RandomPokemon(criteria: Option[String])

Search for a random pokemon.

Search for a random pokemon.

Value parameters

cirteria

optional search query

Attributes

Source
DataCommand.scala
final case class StatCalc(level: Option[Level], baseStat: IronType[Int, Positive], iv: Option[IV], ev: Option[EVBoost], modifier: Option[Modifier])

Calculate a statistic.

Calculate a statistic.

Value parameters

baseStat

the base statistic of the pokemon

ev

the investment and nature of the pokemon in the statistic to calculate

iv

the iv of the pokemon

level

the level of the pokemon

modifier

a statistic modifier, like the effect of an item

Attributes

Source
DataCommand.scala
final case class Weakness(typesOrPokemon: SpeciesName | (Type, Type) | Type)

Get the weaknesses of a/two type(s) or a pokemon.

Get the weaknesses of a/two type(s) or a pokemon.

Value parameters

typesOrPokemon

a type, double-type or a pokemon

Attributes

Source
DataCommand.scala