BattleInitializationMessage
A message relative to the initialization of a battle.
Attributes
- Source
- BattleInitializationMessage.scala
- Graph
-
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Enum entries
Declare a pokemon.
Declare a pokemon.
Value parameters
- details
-
the details of the pokemon
- item
-
the item held by the declared pokemon
- player
-
the pokemon's trainer
Attributes
Set the type of the battle.
Set the type of the battle.
Value parameters
- battleType
-
the type of the battle
Attributes
Set the generation of the battle.
Set the generation of the battle.
Value parameters
- generation
-
the generation of the battle's format
Attributes
Declare a battle player
Declare a battle player
Value parameters
- avatar
-
the avatar of the user
- name
-
the name of the user
- number
-
the number attributed to the player
- rating
-
the rating of the user in the battle's format
Attributes
Set the battle as rated.
Set the battle as rated.
Value parameters
- message
-
None
if the battle is rated orSome
if the battle is rated in some other way.
Attributes
Declare a rule of the battle
Declare a rule of the battle
Value parameters
- rule
-
the enabled battle rule
Attributes
Start the battle
Start the team preview.
Declare the size of a player's team.
Declare the size of a player's team.
Value parameters
- player
-
the team owner
- size
-
the number of pokemon in the team
Attributes
Set the tier of the battle.
Set the tier of the battle.
Value parameters
- format
-
the format of the battle