io.github.pidoveproject.showdown.team

Members list

Type members

Classlikes

object AbilityName extends RefinedTypeOps[String, Not[Blank], AbilityName]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], AbilityName]
class Object
trait Matchable
class Any
Self type
object DynamaxLevel extends RefinedTypeOps[Int, Closed[0, 10], DynamaxLevel]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Closed[0, 10], DynamaxLevel]
class Object
trait Matchable
class Any
Self type
object EV extends RefinedTypeOps[Int, Closed[0, 255], EV]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Closed[0, 255], EV]
class Object
trait Matchable
class Any
Self type
EV.type
enum Gender(val shortName: String)

The gender of a pokemon. Possibly genderless fields are represented using an Option.

The gender of a pokemon. Possibly genderless fields are represented using an Option.

Value parameters

shortName

the abbreviated name of the gender

Attributes

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

Attributes

Companion
enum
Source
Gender.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Gender.type
object Happiness extends RefinedTypeOps[Int, Closed[0, 255], Happiness]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Closed[0, 255], Happiness]
class Object
trait Matchable
class Any
Self type
Happiness.type
object IV extends RefinedTypeOps[Int, Closed[0, 31], IV]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Closed[0, 31], IV]
class Object
trait Matchable
class Any
Self type
IV.type
object ItemName extends RefinedTypeOps[String, Not[Blank], ItemName]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], ItemName]
class Object
trait Matchable
class Any
Self type
ItemName.type
object Level extends RefinedTypeOps[Int, Closed[0, 100], Level]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Closed[0, 100], Level]
class Object
trait Matchable
class Any
Self type
Level.type
object MoveName extends RefinedTypeOps[String, Not[Blank], MoveName]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], MoveName]
class Object
trait Matchable
class Any
Self type
MoveName.type
enum Nature(modifiedStats: Option[(StatType, StatType)])

The nature of a pokemon.

The nature of a pokemon.

Value parameters

modifiedStats

the stats bonus and malus of the nature. None if the nature is neutral.

Attributes

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

Attributes

Companion
enum
Source
Nature.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Nature.type
case class PokemonSet(name: Option[Surname], species: SpeciesName, gender: Option[Gender], item: Option[ItemName], ability: AbilityName, nature: Nature, moves: MoveNames, ivs: IVS, evs: EVS, level: Level, shiny: Boolean, happiness: Happiness, pokeball: String, hpType: Option[Type], dynamaxLevel: DynamaxLevel, gigantamax: Boolean, teraType: Type)

A pokemon set.

A pokemon set.

Value parameters

ability

this pokemon's ability

dynamaxLevel

this pokemon's dynamax level (8G only)

evs

this pokemon's effot values (EVs)

gender

this pokemon's gender or None if genderless

gigantamax

whether this pokemon has gigantamax form or not (8G only)

happiness

this pokemon's happiness

hpType

this pokemon's hidden power type. If None, the type is calculated from the IVs

item

this pokemon's item or None

ivs

this pokemon's internal values (IVs)

level

this pokemon's level

moves

this pokemon's moves (up to 4)

name

this pokemon's surname

nature

this pokemon's nature

pokeball

this pokemon's pokeball. Not used by Showdown but still present

shiny

whether this pokemon is shiny or not

species

this pokemon's species

teraType

the type this pokemon takes when terastallizing (9G only)

Attributes

Source
PokemonSet.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object SpeciesName extends RefinedTypeOps[String, Not[Blank], SpeciesName]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], SpeciesName]
class Object
trait Matchable
class Any
Self type
object Stat extends RefinedTypeOps[Int, Positive, Stat]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[Int, Positive, Stat]
class Object
trait Matchable
class Any
Self type
Stat.type
enum StatType(val shortName: String)

One of the six stat types.

One of the six stat types.

Value parameters

shortName

the short name of this stat type

Attributes

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

Attributes

Companion
enum
Source
StatType.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
StatType.type
object Surname extends RefinedTypeOps[String, Not[Blank], Surname]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], Surname]
class Object
trait Matchable
class Any
Self type
Surname.type
case class Team(name: TeamName, tier: Tier, sets: PokemonSets)

A pokemon team set, like in Showdown's team builder.

A pokemon team set, like in Showdown's team builder.

Value parameters

name

the name of the team

sets

the pokemon sets of this team.

tier

the tier this team is made for

Attributes

Source
Team.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TeamName extends RefinedTypeOps[String, Not[Blank], TeamName]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], TeamName]
class Object
trait Matchable
class Any
Self type
TeamName.type
object Tier extends RefinedTypeOps[String, Not[Blank], Tier]

Attributes

Source
package.scala
Supertypes
trait RefinedTypeOps[String, Not[Blank], Tier]
class Object
trait Matchable
class Any
Self type
Tier.type
enum Type

The pokemon types.

The pokemon types.

Attributes

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

Attributes

Companion
enum
Source
Type.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Type.type

Types

opaque type AbilityName

Attributes

Source
package.scala
opaque type DynamaxLevel

Attributes

Source
package.scala
opaque type EV

Attributes

Source
package.scala
type EVS = Map[StatType, EV]

Attributes

Source
package.scala
opaque type Happiness

Attributes

Source
package.scala
opaque type IV

Attributes

Source
package.scala
type IVS = Map[StatType, IV]

Attributes

Source
package.scala
opaque type ItemName

Attributes

Source
package.scala
opaque type Level

Attributes

Source
package.scala
opaque type MoveName

Attributes

Source
package.scala
type MoveNames = IronType[List[MoveName], MaxLength[4]]

Attributes

Source
package.scala
type PokemonSets = IronType[List[PokemonSet], MaxLength[6]]

Attributes

Source
package.scala
opaque type SpeciesName

Attributes

Source
package.scala
opaque type Stat

Attributes

Source
package.scala
opaque type Surname

Attributes

Source
package.scala
opaque type TeamName

Attributes

Source
package.scala
opaque type Tier

Attributes

Source
package.scala