- All Implemented Interfaces:
Serializable
,Comparable<MapType>
,Constable
A utility class for interpreting the value of the
mapType
field.- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis map type is currently unused and it's purpose is unknown."Blue Battlegrounds" maps.Character creation screens."Edge of the Mists" maps."Eternal Battlegrounds" maps.This map type is currently unused and it's purpose is unknown."Green Battlegrounds" maps.Guild vs Guild (GvG) maps.Instance maps (such as dungeons and story content)."Obsidian Sanctum" maps.Public maps (e.g.Public "mini" maps (such as "Dry Top", "The Silverwastes", and "Mistlock Sanctuary").Competitive Player vs Player (PvP) maps."Red Battlegrounds" maps.Redirect "maps" (e.g.Tournament maps.Tutorial maps.Represents any unknown or unexpectedmapType
value.User tournament maps.This map type's purpose is unknown."Armistice Bastion" maps. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the numerical value of this mount type.static MapType
valueOf
(long mapType) Returns the appropriateMapType
representation for the given numerical value.static MapType
Returns the enum constant of this class with the specified name.static MapType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Represents any unknown or unexpectedmapType
value.This is used as a fallback.
- Since:
- 1.0.0
-
REDIRECT
Redirect "maps" (e.g. when logging in while in a PvP match).- Since:
- 1.0.0
-
CHARACTER_CREATION
-
PVP
-
GVG
Guild vs Guild (GvG) maps.- Since:
- 1.0.0
- API Note:
- At the time of writing this `mapType` is unused.
-
INSTANCE
Instance maps (such as dungeons and story content).- Since:
- 1.0.0
-
PUBLIC
-
TOURNAMENT
-
TUTORIAL
-
USER_TOURNAMENT
-
ETERNAL_BATTLEGROUNDS
-
BLUE_BORDERLANDS
-
GREEN_BORDERLANDS
-
RED_BORDERLANDS
-
FORTUNES_VALE
This map type is currently unused and it's purpose is unknown.- Since:
- 1.0.0
-
OBSIDIAN_SANCTUM
-
EOTM
-
PUBLIC_MINI
Public "mini" maps (such as "Dry Top", "The Silverwastes", and "Mistlock Sanctuary").- Since:
- 1.0.0
-
BIG_BATTLE
This map type is currently unused and it's purpose is unknown.- Since:
- 1.3.0
-
WVW_LOUNGE
"Armistice Bastion" maps.- Since:
- 1.0.0
- API Note:
- This map type might be re-used by other WvW lounge maps in the future.
-
WVW
-
-
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
-
valueOf
Returns the appropriateMapType
representation for the given numerical value.If the given value does not correspond to any known
MapType
,UNKNOWN
is returned.- Parameters:
mapType
- the map type to search- Returns:
- the appropriate
MapType
representation for the given numerical value - Since:
- 1.0.0
-
numericalValue
public long numericalValue()Returns the numerical value of this mount type.This is the same value as the value returned by
MumbleLink.Context.getMapType()
.- Returns:
- the numerical value of this mount type
- Throws:
IllegalArgumentException
- if this isUNKNOWN
- Since:
- 1.0.0
-