io.github.pidoveproject.showdown.battle
Members list
Type members
Classlikes
The identifier of an active pokemon.
The identifier of an active pokemon.
Value parameters
- name
-
the surname or species of the pokemon
- position
-
the position of the pokemon on the battlefield
Attributes
- Companion
- object
- Source
- ActiveId.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ActiveId.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ActiveId.type
An pokemon active on the battlefield.
An pokemon active on the battlefield.
Value parameters
- boosts
-
the current boosts of the pokemon
- modifiedAbility
-
the new ability of the pokemon,
None
indicates that it still has its base ability - nextMoveStatus
-
the status ending the next time this pokemon uses a move
- nextTurnStatus
-
the status ending the next turn
- teamSlot
-
the slot of this pokemon in its team, used to retrieve switch-persistent information like health
- transformedSpecies
-
the new species of the pokemon,
None
indicates that it still has its base species - volatileStatus
-
the current volatile (not persistent after switching) status of the pokemon
Attributes
- Source
- ActivePokemon.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The position of an active pokemon.
The position of an active pokemon.
Value parameters
- player
-
the side of the pokemon
- slot
-
the slot of the pokemon in its side
Attributes
- Companion
- object
- Source
- ActivePosition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- ActivePosition.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
ActivePosition.type
The state of a battle. Represents all data about a battle.
The state of a battle. Represents all data about a battle.
Value parameters
- activePokemon
-
the pokemon currently active on the battlefield
- battleType
-
the type of the battle (e.g singles)
- currentRequest
-
the last pending choice request sent by the server
- currentTurn
-
the current turn of this battle
- field
-
the currently active terrain effects
- format
-
this battle's format
- generation
-
this battle's generation
- players
-
this battle's participants
- result
-
the result of this battle if it ended
- rules
-
this battle's rules
- sides
-
the currently active side-bound effects
- state
-
the game state of this battle (initialization, playing...)
- timerEnabled
-
whether the time for each turn is limited or not
- weather
-
the weather currently active on the battlefield
Attributes
- Companion
- object
- Source
- Battle.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Battle.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Battle.type
The result of an ended battle.
The result of an ended battle.
Attributes
- Source
- BattleResult.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The rule of a battle or format.
The rule of a battle or format.
Value parameters
- description
-
a short description of this rule
- name
-
the name of this rule
Attributes
- Companion
- object
- Source
- BattleRule.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- BattleRule.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BattleRule.type
The state of a Battle.
The state of a Battle.
Attributes
- Source
- BattleState.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The type of a Battle.
The type of a Battle.
Attributes
- Source
- BattleType.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The health and status of a pokemon.
The health and status of a pokemon.
Value parameters
- health
-
the health of the pokemon
- status
-
the status of the pokemon or
None
if healthy.
Attributes
- Companion
- object
- Source
- Condition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Condition.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Condition.type
An instant effect, usually a cause of change in the battle state.
An instant effect, usually a cause of change in the battle state.
Attributes
- Companion
- object
- Source
- Effect.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Source
- Effect.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Effect.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
FieldEffect.type
The health information of a pokemon.
The health information of a pokemon.
Value parameters
- current
-
the current health of the pokemon
- max
-
the maximum health of the pokemon
Attributes
- Companion
- object
- Source
- Health.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Health.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Health.type
The held item of a pokemon.
The held item of a pokemon.
Attributes
- Source
- HeldItem.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MoveSlot.type
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PP.type
A currently battling player.
A currently battling player.
Value parameters
- avatar
-
this player's avatar
- name
-
this player's username
- number
-
this player's battle position
- rating
-
this player's rating in the currently played format
- team
-
this player's pokemon team
Attributes
- Source
- Player.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The position of a player.
The position of a player.
Value parameters
- name
-
the name of the player
- number
-
the player id
Attributes
- Companion
- object
- Source
- PlayerId.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PlayerId.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PlayerId.type
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlayerNumber.type
The pokemon team of a player.
The pokemon team of a player.
Value parameters
- members
-
the pokemon members of the team
- size
-
the size of the team
Attributes
- Source
- PlayerTeam.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The known permanent details of a pokemon.
The known permanent details of a pokemon.
Value parameters
- gender
-
the gender of the pokemon
- level
-
the level of the pokemon
- shiny
-
whether the pokemon is shiny or not
- species
-
the species of the pokemon
- teraType
-
the tera type of the pokememon
Attributes
- Companion
- object
- Source
- PokemonDetails.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- PokemonDetails.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PokemonDetails.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
PokemonSlot.type
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Rating.type
The relative position of an active pokemon.
The relative position of an active pokemon.
Value parameters
- side
-
the relative side of the pokemon
- slot
-
the slot of the pokemon
Attributes
- Companion
- object
- Source
- RelativePosition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- RelativePosition.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
RelativePosition.type
A player side relative to another.
A player side relative to another.
Attributes
- Source
- RelativeSide.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A revealed ability.
A revealed ability.
Attributes
- Source
- RevealedAbility.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The condition of a side.
The condition of a side.
Value parameters
- effects
-
the effects bound to the represented side
Attributes
- Source
- SideCondition.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
SideFieldEffect.type
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StatBoost.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
StatusEffect.type
A member identifier relative to a team.
A member identifier relative to a team.
Value parameters
- name
-
the name of the pokemon
- player
-
the owner
Attributes
- Companion
- object
- Source
- TeamId.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- TeamId.scala
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TeamId.type
An inactive pokemon.
An inactive pokemon.
Value parameters
- ability
-
the ability of this pokemon
- condition
-
the condition of this pokemon
- details
-
the known details of this pokemon
- item
-
the item currently held by this pokemon
Attributes
- Source
- TeamMember.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TeamSlot.type
Attributes
- Source
- package.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TurnNumber.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
VolatileStatus.type
Attributes
- Source
- package.scala
- Supertypes
- Self type
-
Weather.type
Types
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Attributes
- Source
- package.scala
Givens
Givens
Attributes
- Source
- decoder.scala
Attributes
- Source
- decoder.scala
Attributes
- Source
- decoder.scala
Attributes
- Source
- decoder.scala