![JAR search and dependency download from the Maven repository](/logo.png)
io.github.pidoveproject.showdown.protocol.server.query.ResponseContent.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 io.github.pidoveproject.showdown.protocol.{MessageDecoder, messageName}
/**
* The content of a query response.
*/
enum ResponseContent derives MessageDecoder:
/**
* The list of battle rooms.
*/
@messageName("roomlist") case BattleRoomList(rooms: BattleRooms)
/**
* The list of chat rooms.
*/
@messageName("rooms") case ChatRoomList(rooms: ChatRooms)
/**
* The details of a user.
*/
case UserDetails(details: UserInfo)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy