Package org.dreambot.api.methods.world
Enum WorldType
- java.lang.Object
-
- java.lang.Enum<WorldType>
-
- org.dreambot.api.methods.world.WorldType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.EnumSet<WorldType>
fromMask(int mask)
int
getMaskValue()
static WorldType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WorldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMBER
public static final WorldType MEMBER
-
PVP
public static final WorldType PVP
-
PRIVATE
public static final WorldType PRIVATE
-
TARGET
public static final WorldType TARGET
-
PVP_ARENA
public static final WorldType PVP_ARENA
-
SKILL
public static final WorldType SKILL
-
SPEED_RUN
public static final WorldType SPEED_RUN
-
HIGH_RISK
public static final WorldType HIGH_RISK
-
LMS
public static final WorldType LMS
-
TESTING
public static final WorldType TESTING
-
SOUL_WARS
public static final WorldType SOUL_WARS
-
WILDY_DYNAMITE
public static final WorldType WILDY_DYNAMITE
-
BETA
public static final WorldType BETA
-
TOURNAMENT
public static final WorldType TOURNAMENT
-
FRESH_START
public static final WorldType FRESH_START
-
SOMETHING
public static final WorldType SOMETHING
-
DEADMAN
public static final WorldType DEADMAN
-
TWISTED
public static final WorldType TWISTED
-
UNKNOWN
public static final WorldType UNKNOWN
-
-
Method Detail
-
values
public static WorldType[] 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 (WorldType c : WorldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorldType 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
-
getMaskValue
public int getMaskValue()
-
fromMask
public static java.util.EnumSet<WorldType> fromMask(int mask)
-
-