public static enum SpectateManager.Result extends java.lang.Enum<SpectateManager.Result>
Enum Constant and Description |
---|
ALREADY_SPECTATING |
EVENT_CANCELLED |
IN_MATCH |
IN_QUEUE |
SUCCESS |
TARGET_NOT_IN_MATCH |
Modifier and Type | Method and Description |
---|---|
static SpectateManager.Result |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpectateManager.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpectateManager.Result ALREADY_SPECTATING
public static final SpectateManager.Result IN_QUEUE
public static final SpectateManager.Result IN_MATCH
public static final SpectateManager.Result TARGET_NOT_IN_MATCH
public static final SpectateManager.Result EVENT_CANCELLED
public static final SpectateManager.Result SUCCESS
public static SpectateManager.Result[] values()
for (SpectateManager.Result c : SpectateManager.Result.values()) System.out.println(c);
public static SpectateManager.Result valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null