BattleEnd
io.github.pidoveproject.showdown.protocol.server.TournamentMessage.BattleEnd
final case class BattleEnd(firstUser: Username, secondUser: Username, result: BattleResult, score: BattleScore, recorded: TournamentRecord, room: RoomId)
A tournament battle ended
Value parameters
- firstUser
-
the first battle participant
- recorded
-
fail if the result is a draw and the tournament does not support it, success otherwise
- result
-
the result of the battle from
firstUser
perspective - room
-
the id of the battle room
- score
-
the current score of both players
- secondUser
-
the second battle participant
Attributes
- Source
- TournamentMessage.scala
Members list
In this article