Enum TeleportType
- java.lang.Object
-
- java.lang.Enum<TeleportType>
-
- net.runelite.client.plugins.worldmap.TeleportType
-
- All Implemented Interfaces:
Serializable
,Comparable<TeleportType>
public enum TeleportType extends Enum<TeleportType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANCIENT_MAGICKS
ARCEUUS_MAGIC
JEWELLERY
LUNAR_MAGIC
NORMAL_MAGIC
OTHER
SCROLL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
static TeleportType
valueOf(String name)
Returns the enum constant of this type with the specified name.static TeleportType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL_MAGIC
public static final TeleportType NORMAL_MAGIC
-
ANCIENT_MAGICKS
public static final TeleportType ANCIENT_MAGICKS
-
LUNAR_MAGIC
public static final TeleportType LUNAR_MAGIC
-
ARCEUUS_MAGIC
public static final TeleportType ARCEUUS_MAGIC
-
JEWELLERY
public static final TeleportType JEWELLERY
-
SCROLL
public static final TeleportType SCROLL
-
OTHER
public static final TeleportType OTHER
-
-
Method Detail
-
values
public static TeleportType[] 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 (TeleportType c : TeleportType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TeleportType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getPrefix
public String getPrefix()
-
-