ChoiceRequest

io.github.pidoveproject.showdown.protocol.server.choice.ChoiceRequest
See theChoiceRequest companion object
case class ChoiceRequest(active: List[ActiveChoice], team: TeamChoice, requestId: Option[Int])

A choice request sent by the server.

Value parameters

active

the choices related to the active pokemon

requestId

the id of the request, used to ensure the sent decision is not confused with another one

team

the choice related to the team (e.g switching)

Attributes

Companion
object
Source
ChoiceRequest.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product