io.github.pidoveproject.showdown.protocol.server.choice
Members list
Type members
Classlikes
Choice information on the active side.
Choice information on the active side.
Value parameters
- moves
-
the available moves
Attributes
- Source
- ActiveChoice.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
An error message about a wrong choice.
An error message about a wrong choice.
Attributes
- Companion
- object
- Source
- ChoiceError.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Source
- ChoiceError.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ChoiceError.type
A choice request sent by the server.
A choice request sent by the server.
Value parameters
- active
-
the choices related to the active pokemon
- requestId
-
the id of the request, used to ensure the sent decision is not confused with another one
- team
-
the choice related to the team (e.g switching)
Attributes
- Companion
- object
- Source
- ChoiceRequest.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ChoiceRequest.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ChoiceRequest.type
Represent a selectable move.
Represent a selectable move.
Value parameters
- disabled
-
whether this move is disabled or usable
- id
-
the internal id of the move (lower-cased and without spaces)
- maxPP
-
the max PP of the move
- name
-
the name of the move
- pp
-
the remaining PP of the move
- range
-
the targeting range of the move
Attributes
- Source
- MoveChoice.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The range of a move.
The range of a move.
Attributes
- Companion
- object
- Source
- MoveRange.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Source
- MoveRange.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MoveRange.type
Information about a selectable pokemon.
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Team-related choices.
Team-related choices.
Value parameters
- name
-
the name of the team (usually the owner's name)
- player
-
the number of the team owner
- pokemon
-
the pokemon choices
Attributes
- Source
- TeamChoice.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all