Package com.xyrisdev.cloud.api.menu
Enum Class MenuType
- All Implemented Interfaces:
Serializable
,Comparable<MenuType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe menu accessed via the /duel command to start a duel.The menu to select a duel arena when starting a duel via the /duel command.The menu to select a kit when initiating a duel via the /duel command.The menu where players can accept or deny a duel request they have received.The menu to select the number of rounds for a duel via the /duel command.The menu where players can customize their duel settings.The menu where players can edit their layout of the kits.The menu where players can view their or other players' statistics.The menu where players can select a kit and queue for a duel. -
Method Summary
-
Enum Constant Details
-
DUEL
The menu accessed via the /duel command to start a duel. -
DUEL_KIT_SELECTION
The menu to select a kit when initiating a duel via the /duel command. -
DUEL_ARENA_SELECTION
The menu to select a duel arena when starting a duel via the /duel command. -
DUEL_ROUND_SELECTION
The menu to select the number of rounds for a duel via the /duel command. -
DUEL_REQUEST
The menu where players can accept or deny a duel request they have received. -
QUEUE_KIT_SELECTION
The menu where players can select a kit and queue for a duel. -
DUEL_SETTINGS
The menu where players can customize their duel settings. -
PLAYER_STATS
The menu where players can view their or other players' statistics. -
KIT_LAYOUT_EDITOR
The menu where players can edit their layout of the kits.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-