Enum WorldLocation
- java.lang.Object
-
- java.lang.Enum<WorldLocation>
-
- net.eternalclient.api.wrappers.world.WorldLocation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WorldLocation>
public enum WorldLocation extends java.lang.Enum<WorldLocation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUSTRALIA
GERMANY
UNITED_KINGDOM
UNITED_STATES
UNITED_STATES_EAST
UNITED_STATES_WEST
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorldLocation
get(World world)
static WorldLocation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WorldLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNITED_STATES
public static final WorldLocation UNITED_STATES
-
UNITED_STATES_WEST
public static final WorldLocation UNITED_STATES_WEST
-
UNITED_STATES_EAST
public static final WorldLocation UNITED_STATES_EAST
-
UNITED_KINGDOM
public static final WorldLocation UNITED_KINGDOM
-
AUSTRALIA
public static final WorldLocation AUSTRALIA
-
GERMANY
public static final WorldLocation GERMANY
-
UNKNOWN
public static final WorldLocation UNKNOWN
-
-
Method Detail
-
values
public static WorldLocation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WorldLocation c : WorldLocation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorldLocation valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
get
public static WorldLocation get(World world)
-
-