Enum Class HousePortal
- All Implemented Interfaces:
Serializable,Comparable<HousePortal>,Constable
Enumeration of all portal destinations that can be built in a Player-Owned House.
HousePortal represents teleport destinations available through POH portal rooms and the Portal Nexus. Each portal has a fixed destination and display name.
Portal Categories
- Standard Spellbook - Varrock, Lumbridge, Falador, Camelot, Ardougne, etc.
- Ancient Spellbook - Senntisten, Kharyrll, Carrallangar, Annakarl, Ghorrock
- Lunar Spellbook - Lunar Isle, Waterbirth Island, Fishing Guild, Catherby
- Arceuus Spellbook - Arceuus Library, Draynor Manor, Battlefront, etc.
- Quest-locked - Kourend, Troll Stronghold, Weiss, Civitas illa Fortis
Redirect Portals
Some portals can be redirected based on diary completion:
- Varrock/Grand Exchange (Varrock Medium Diary)
- Camelot/Seers' Village (Kandarin Hard Diary)
- Watchtower/Yanille (Ardougne Hard Diary)
Usage Example
HousePortal portal = HousePortal.VARROCK;
// Get the actual display name (may differ based on redirect)
String name = portal.getModifiedName();
// Get destination coordinates
WorldPoint dest = portal.getDestination();
- 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 TypeMethodDescriptionGets the actual portal name accounting for redirects.static HousePortalReturns the enum constant of this class with the specified name.static HousePortal[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ARCEUUS_LIBRARY
-
DRAYNOR_MANOR
-
BATTLEFRONT
-
VARROCK
-
GRAND_EXCHANGE
-
MIND_ALTAR
-
LUMBRIDGE
-
FALADOR
-
SALVE_GRAVEYARD
-
CAMELOT
-
SEERS_VILLAGE
-
FENKENSTRAINS_CASTLE
-
EAST_ARDOUGNE
-
WATCHTOWER
-
YANILLE
-
SENNTISTEN
-
WEST_ARDOUGNE
-
MARIM
-
HARMONY_ISLAND
-
KHARYRLL
-
LUNAR_ISLE
-
KOUREND
-
CEMETERY
-
WATERBIRTH_ISLAND
-
BARROWS
-
CARRALLANGAR
-
FISHING_GUILD
-
CATHERBY
-
ANNAKARL
-
APE_ATOLL_DUNGEON
-
GHORROCK
-
TROLL_STRONGHOLD
-
WEISS
-
CIVITAS_ILLA_FORTIS
-
-
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
-
getModifiedName
Gets the actual portal name accounting for redirects.Some portals can be redirected based on achievement diary completion:
- Varrock/Grand Exchange - Based on Varrock diary varbit 4585
- Camelot/Seers' Village - Based on Kandarin diary varbit 4560
- Returns:
- the current display name based on redirect state
-