Enum Class MenuType

java.lang.Object
java.lang.Enum<MenuType>
com.xyrisdev.cloud.api.menu.MenuType
All Implemented Interfaces:
Serializable, Comparable<MenuType>, Constable

public enum MenuType extends Enum<MenuType>
  • Enum Constant Details

    • DUEL

      public static final MenuType DUEL
      The menu accessed via the /duel command to start a duel.
    • DUEL_KIT_SELECTION

      public static final MenuType DUEL_KIT_SELECTION
      The menu to select a kit when initiating a duel via the /duel command.
    • DUEL_ARENA_SELECTION

      public static final MenuType DUEL_ARENA_SELECTION
      The menu to select a duel arena when starting a duel via the /duel command.
    • DUEL_ROUND_SELECTION

      public static final MenuType DUEL_ROUND_SELECTION
      The menu to select the number of rounds for a duel via the /duel command.
    • DUEL_REQUEST

      public static final MenuType DUEL_REQUEST
      The menu where players can accept or deny a duel request they have received.
    • QUEUE_KIT_SELECTION

      public static final MenuType QUEUE_KIT_SELECTION
      The menu where players can select a kit and queue for a duel.
    • DUEL_SETTINGS

      public static final MenuType DUEL_SETTINGS
      The menu where players can customize their duel settings.
    • PLAYER_STATS

      public static final MenuType PLAYER_STATS
      The menu where players can view their or other players' statistics.
    • KIT_LAYOUT_EDITOR

      public static final MenuType KIT_LAYOUT_EDITOR
      The menu where players can edit their layout of the kits.
  • Method Details

    • values

      public static MenuType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MenuType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null