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

io.github.pidoveproject.showdown.protocol.server.tournament.TournamentAutoStart.scala Maven / Gradle / Ivy

The newest version!
package io.github.pidoveproject.showdown.protocol.server.tournament

import io.github.pidoveproject.showdown.Timestamp
import io.github.pidoveproject.showdown.protocol.MessageDecoder

/**
 * The auto-start policy for tournaments
 */
enum TournamentAutoStart derives MessageDecoder:

  /**
   * Start the tournament after `startTimer` time.
   */
  case On(startTimer: Timestamp)

  /**
   * Disabled.
   */
  case Off()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy