Player

io.github.pidoveproject.showdown.protocol.server.BattleInitializationMessage.Player
final case class Player(number: PlayerNumber, name: Option[Username], avatar: Option[AvatarName], rating: Option[Rating])

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

Source
BattleInitializationMessage.scala

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product