Package net.runelite.client.hiscore
Enum HiscoreEndpoint
- java.lang.Object
-
- java.lang.Enum<HiscoreEndpoint>
-
- net.runelite.client.hiscore.HiscoreEndpoint
-
- All Implemented Interfaces:
Serializable,Comparable<HiscoreEndpoint>
public enum HiscoreEndpoint extends Enum<HiscoreEndpoint>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEADMANFRESH_START_WORLDHARDCORE_IRONMANIRONMANLEVEL_3_SKILLERNORMALPURESEASONALTOURNAMENTULTIMATE_IRONMAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HiscoreEndpointfromWorldTypes(Set<WorldType> worldTypes)okhttp3.HttpUrlgetHiscoreURL()StringgetName()static HiscoreEndpointvalueOf(String name)Returns the enum constant of this type with the specified name.static HiscoreEndpoint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NORMAL
public static final HiscoreEndpoint NORMAL
-
IRONMAN
public static final HiscoreEndpoint IRONMAN
-
HARDCORE_IRONMAN
public static final HiscoreEndpoint HARDCORE_IRONMAN
-
ULTIMATE_IRONMAN
public static final HiscoreEndpoint ULTIMATE_IRONMAN
-
DEADMAN
public static final HiscoreEndpoint DEADMAN
-
SEASONAL
public static final HiscoreEndpoint SEASONAL
-
TOURNAMENT
public static final HiscoreEndpoint TOURNAMENT
-
FRESH_START_WORLD
public static final HiscoreEndpoint FRESH_START_WORLD
-
PURE
public static final HiscoreEndpoint PURE
-
LEVEL_3_SKILLER
public static final HiscoreEndpoint LEVEL_3_SKILLER
-
-
Method Detail
-
values
public static HiscoreEndpoint[] 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 (HiscoreEndpoint c : HiscoreEndpoint.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HiscoreEndpoint 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
-
fromWorldTypes
public static HiscoreEndpoint fromWorldTypes(Set<WorldType> worldTypes)
-
getName
public String getName()
-
getHiscoreURL
public okhttp3.HttpUrl getHiscoreURL()
-
-