Package de.marcely.bedwars.api.remote
Enum RemoteSpectatorAddResult.Result
java.lang.Object
java.lang.Enum<RemoteSpectatorAddResult.Result>
de.marcely.bedwars.api.remote.RemoteSpectatorAddResult.Result
- All Implemented Interfaces:
- Serializable,- Comparable<RemoteSpectatorAddResult.Result>,- java.lang.constant.Constable
- Enclosing class:
- RemoteSpectatorAddResult
Represents the exact result of what happened to the player that tried to spectate.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe player is busy with something else, such as getting added as a player.The arena has been removed during the process.The arena is not running anymore.The player went offline.A plugin cancelled it using the API.The server is full.It all went fine.We tried to contact the server, but we have never received any info.We don't know, really.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static RemoteSpectatorAddResult.Result[]values()Returns an array containing the constants of this enum type, in the order they are declared.
- 
Enum Constant Details- 
SUCCESSIt all went fine.
- 
PLAYER_OFFLINEThe player went offline.
- 
ALREADY_MOVINGThe player is busy with something else, such as getting added as a player.
- 
SERVER_FULLThe server is full.
- 
ARENA_NOT_EXISTING_ANYMOREThe arena has been removed during the process.
- 
ARENA_NOT_RUNNINGThe arena is not running anymore.
- 
PLUGIN_EVENT_CANCELLEDA plugin cancelled it using the API.
- 
TIMEOUTWe tried to contact the server, but we have never received any info.
- 
UNKNOWNWe don't know, really.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-