io.github.pidoveproject.showdown.protocol.server.tournament.TournamentUpdate
See theTournamentUpdate companion object
case class TournamentUpdate(format: Option[FormatName], teambuilderFormat: Option[FormatName], isStarted: Option[Boolean], isJoined: Option[Boolean], generator: Option[TournamentGenerator], playerCap: Option[Count], bracketData: Option[BracketData], challenges: Option[List[Username]], challengesBys: Option[List[Username]], challenged: Option[List[Username]], challenging: Option[List[Username]])
A tournament update. Each parameter is optional (only present if the state changed).
Value parameters
- bracketData
-
the current state of the bracket
- challenged
-
the list of opponents currently challenging the user
- challenges
-
the list of opponents the current user can challenge
- challengesBys
-
the list of opponents who can challenge the current user
- challenging
-
the list of opponents the user is challenging
- format
-
the format of the battles of the tournament
- generator
-
the bracket generator of the tournament
- isJoined
-
whether the current (logged in) user joined the tournament or not
- isStarted
-
whether the tournament started or not
- playerCap
-
the maximum count of the player
- teambuilderFormat
-
the format of the tournament used for teambuilding
Attributes
- Companion
- object
- Source
- TournamentUpdate.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article