Package de.marcely.bedwars.api.remote
Enum RemotePlayerAddResult.GeneralResult
java.lang.Object
java.lang.Enum<RemotePlayerAddResult.GeneralResult>
de.marcely.bedwars.api.remote.RemotePlayerAddResult.GeneralResult
- All Implemented Interfaces:
Serializable
,Comparable<RemotePlayerAddResult.GeneralResult>
,java.lang.constant.Constable
- Enclosing class:
RemotePlayerAddResult
public static enum RemotePlayerAddResult.GeneralResult
extends Enum<RemotePlayerAddResult.GeneralResult>
Represents a general result of what happened to all the players.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEveryone has failed.The arena has been removed during the process.The arena is not in the lobby state anymore.A plugin cancelled the process.Some have failed.Everyone successfully entered.We tried to contact the server, but we haven't received any info.We don't know why it exactly failed. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static RemotePlayerAddResult.GeneralResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Everyone successfully entered. -
SOME_HAVE_FAILED
Some have failed. -
ALL_HAVE_FAILED
Everyone has failed. -
ARENA_NOT_EXISTING_ANYMORE
The arena has been removed during the process. -
ARENA_NOT_LOBBY
The arena is not in the lobby state anymore. -
PLUGIN_EVENT_CANCELLED
A plugin cancelled the process. -
TIMEOUT
We tried to contact the server, but we haven't received any info. -
UNKNOWN
We don't know why it exactly failed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-