Enum WorldType
- java.lang.Object
-
- java.lang.Enum<WorldType>
-
- com.runemate.game.api.hybrid.local.WorldType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BETA
BOUNTY
CASTLE_WARS
DEADMAN
FRESH_START_WORLD
HIGH_RISK
LAST_MAN_STANDING
MEMBERS
NOSAVE_MODE
PVP
PVP_ARENA
QUEST_SPEEDRUNNING
SEASONAL
SKILL_TOTAL
TOURNAMENT_WORLD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMask()
static boolean
isPvp(java.util.Collection<WorldType> types)
static java.util.EnumSet<WorldType>
of(int mask)
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
-
MEMBERS
public static final WorldType MEMBERS
-
PVP
public static final WorldType PVP
-
BOUNTY
public static final WorldType BOUNTY
-
PVP_ARENA
public static final WorldType PVP_ARENA
-
SKILL_TOTAL
public static final WorldType SKILL_TOTAL
-
QUEST_SPEEDRUNNING
public static final WorldType QUEST_SPEEDRUNNING
-
HIGH_RISK
public static final WorldType HIGH_RISK
-
LAST_MAN_STANDING
public static final WorldType LAST_MAN_STANDING
-
BETA
public static final WorldType BETA
-
NOSAVE_MODE
public static final WorldType NOSAVE_MODE
-
TOURNAMENT_WORLD
public static final WorldType TOURNAMENT_WORLD
-
FRESH_START_WORLD
public static final WorldType FRESH_START_WORLD
-
CASTLE_WARS
public static final WorldType CASTLE_WARS
-
DEADMAN
public static final WorldType DEADMAN
-
SEASONAL
public static final WorldType SEASONAL
-
-
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
-
of
public static java.util.EnumSet<WorldType> of(int mask)
-
isPvp
public static boolean isPvp(java.util.Collection<WorldType> types)
-
getMask
public int getMask()
-
-