public enum DragonBattleResetResult extends java.lang.Enum<DragonBattleResetResult>
Enum Constant and Description |
---|
DRAGON_BATTLES_DISABLED
The dragon battle could not be reset because they are disabled on the server.
|
SUCCESS
The dragon battle was successfully been reset.
|
WORLD_NOT_GENERATED
The dragon battle could not be reset because the world was never generated before.
|
WORLD_NOT_UNLOCKED
The dragon battle could not be reset because the world is not unlocked for the island.
|
Modifier and Type | Method and Description |
---|---|
static DragonBattleResetResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DragonBattleResetResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DragonBattleResetResult DRAGON_BATTLES_DISABLED
public static final DragonBattleResetResult WORLD_NOT_GENERATED
public static final DragonBattleResetResult WORLD_NOT_UNLOCKED
public static final DragonBattleResetResult SUCCESS
public static DragonBattleResetResult[] values()
for (DragonBattleResetResult c : DragonBattleResetResult.values()) System.out.println(c);
public static DragonBattleResetResult 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