Enum Class NexoriCloseMatchAdmissionReason
java.lang.Object
java.lang.Enum<NexoriCloseMatchAdmissionReason>
io.github.hyjn.nexori.plugin.api.minigame.NexoriCloseMatchAdmissionReason
- All Implemented Interfaces:
Serializable, Comparable<NexoriCloseMatchAdmissionReason>, Constable
Public reasons a rules mod can use to explicitly close backend admission reporting.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn administrator or operator action forced admission closed.Gameplay reached a phase where new players should no longer join.The rules mod explicitly closed admission.The rules mod locked the match roster. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NexoriCloseMatchAdmissionReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOD_REQUEST
The rules mod explicitly closed admission. -
GAME_PHASE_LOCKED
Gameplay reached a phase where new players should no longer join. -
ROSTER_LOCKED
The rules mod locked the match roster. -
ADMIN_FORCED
An administrator or operator action forced admission closed.
-
-
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
-