Package net.storm.api.widgets
Enum Class MinigameTeleport
- All Implemented Interfaces:
Serializable,Comparable<MinigameTeleport>,Constable
Enumeration of all minigame teleport destinations available in the game.
Each minigame teleport represents a destination accessible via the minigame teleport system. The enum includes the teleport's index in the interface, display name, destination coordinates, and any required dialog options.
Minigame teleports have a 20-minute cooldown between uses and may have various requirements such as quest completion, skill levels, or other unlocks before they can be used.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic MinigameTeleportGets a minigame teleport by its display name.booleancanUse()Checks if the player can use this minigame teleport based on requirements.static MinigameTeleportGets the currently selected minigame teleport destination.booleanChecks if this teleport has a fixed destination location.static MinigameTeleportReturns the enum constant of this class with the specified name.static MinigameTeleport[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BARBARIAN_ASSAULT
-
BLAST_FURNACE
-
BURTHORPE_GAMES_ROOM
-
CASTLE_WARS
-
CLAN_WARS
-
DAGANNOTH_KINGS
-
FISHING_TRAWLER
-
GIANTS_FOUNDRY
-
GOD_WARS
-
GUARDIANS_OF_THE_RIFT
-
LAST_MAN_STANDING
-
MAGE_TRAINING_ARENA
-
NIGHTMARE_ZONE
-
PEST_CONTROL
-
PLAYER_OWNED_HOUSES
-
RAT_PITS_ARDOUGNE
-
RAT_PITS_VARROCK
-
RAT_PITS_KELDAGRIM
-
RAT_PITS_PORT_SARIM
-
ROYAL_TITANS
-
SHADES_OF_MORTTON
-
SHIELD_OF_ARRAV
-
SHOOTING_STARS
-
SOUL_WARS
-
THEATRE_OF_BLOOD
-
TITHE_FARM
-
TOMBS_OF_AMASCUT
-
TROUBLE_BREWING
-
TZHAAR_FIGHT_PIT
-
VOLCANIC_MINE
-
NONE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getCurrent
Gets the currently selected minigame teleport destination.- Returns:
- the currently selected teleport, or
NONEif none is selected
-
byName
Gets a minigame teleport by its display name.- Parameters:
name- the name to search for- Returns:
- the matching teleport, or
NONEif not found
-
canUse
public boolean canUse()Checks if the player can use this minigame teleport based on requirements.Requirements may include quest completion, skill levels, or other unlocks depending on the specific minigame.
- Returns:
trueif the player meets all requirements,falseotherwise
-
hasDestination
public boolean hasDestination()Checks if this teleport has a fixed destination location.Some teleports like Player Owned Houses or Shield of Arrav don't have fixed destinations and will return
false.- Returns:
trueif this teleport has a fixed destination,falseotherwise
-