io.github.pidoveproject.showdown.protocol.server.query.BattleRoomInfo.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-showdown-api_3 Show documentation
Show all versions of scala-showdown-api_3 Show documentation
A Scala wrapper of Pokemon Showdown's API
The newest version!
package io.github.pidoveproject.showdown.protocol.server.query
import zio.json.*
/**
* Informations on a battle room sent by the server.
*
* @param p1 the first battle participant
* @param p2 the second battle participant
* @param minElo the min elo of the match
*/
case class BattleRoomInfo(p1: String, p2: String, minElo: Int) derives JsonDecoder