io.github.pidoveproject.showdown.protocol.client.TimestampTarget.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.client
import io.github.pidoveproject.showdown.protocol.{MessageEncoder, messageName}
/**
* Target for timestamp-related commands.
*/
enum TimestampTarget derives MessageEncoder:
/**
* Every rooms.
*/
case All
/**
* Only the lobby room.
*/
case Lobby
/**
* Private messages
*/
@messageName("pms") case PrivateMessages