All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.pidoveproject.showdown.protocol.client.TimestampTarget.scala Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy