Enum Class O2SpellType
- All Implemented Interfaces:
Serializable,Comparable<O2SpellType>,Constable
All supported spells.
-
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 TypeMethodDescription@NotNull Class<?> Get the class name associated with this spell type@NotNull MagicLevelgetLevel()Get the level for this spell.@NotNull StringGet the spell name for this spell type.static @Nullable O2SpellTypespellTypeFromString(@NotNull String spellString) Get a O2SpellType enum from a string.static O2SpellTypeReturns the enum constant of this class with the specified name.static O2SpellType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABERTO
-
ACCIO
-
AGUAMENTI
-
ALARTE_ASCENDARE
-
ALIQUAM_FLOO
-
ALOHOMORA
-
AMATO_ANIMO_ANIMATO_ANIMAGUS
-
APARECIUM
-
APPARATE
-
AQUA_ERUCTO
-
ARANIA_EXUMAI
-
ARRESTO_MOMENTUM
-
ASCENDIO
-
ASTROLOGIA
-
AVADA_KEDAVRA
-
AVIFORS
-
AVIS
-
BAO_ZHONG_CHA
-
BOMBARDA
-
BOMBARDA_MAXIMA
-
BOS
-
BOTHYNUS
-
BOTHYNUS_DUO
-
BOTHYNUS_TRIA
-
BRACKIUM_EMENDO
-
CALAMUS
-
CANIS
-
CARPE_RETRACTUM
-
CARTOMANCIE
-
CAVE_INIMICUM
-
CELATUM
-
CHARTIA
-
CISTERN_APERIO
-
COLLOPORTUS
-
COLOVARIA
-
COLOVARIA_ALBUM
-
COLOVARIA_AURANTIACO
-
COLOVARIA_CAERULUS
-
COLOVARIA_FLAVO
-
COLOVARIA_OSTRUM
-
COLOVARIA_VERIDI
-
COLOVARIA_VERMICULO
-
COMETES
-
COMETES_DUO
-
CONFUNDO
-
CONFUNDUS_DUO
-
CRESCERE_PROTEGAT
-
DEFODIO
-
DELETRIUS
-
DEPRIMO
-
DEPULSO
-
DIAMAS_REPARO
-
DIFFINDO
-
DISSENDIUM
-
DRACONIFORS
-
DUCKLIFORS
-
DURO
-
EBUBLIO
-
ENGORGIO
-
ENTOMORPHIS
-
EPISKEY
-
ET_INTERFICIAM_ANIMAM_LIGAVERIS
-
EQUUS
-
EQUUSIFORS
-
EVANESCO
-
EXPELLIARMUS
-
FATUUS_AURUM
-
FELIS
-
FIANTO_DURI
-
FIENDFYRE
-
FINESTRA
-
FINITE_INCANTATEM
-
FLAGRANTE
-
FLIPENDO
-
FRANGE_LIGNEA
-
FUMOS
-
FUMOS_DUO
-
GEMINO
-
GLACIUS
-
GLACIUS_DUO
-
GLACIUS_TRIA
-
HARMONIA_NECTERE_PASSUS
-
HERBIFORS
-
HERBIVICUS
-
HORREAT_PROTEGAT
-
IMMOBULUS
-
IMPEDIMENTA
-
INCENDIO
-
INCENDIO_DUO
-
INCENDIO_TRIA
-
INFORMOUS
-
INTUEOR
-
LACARNUM_INFLAMARI
-
LAGOMORPHA
-
LAMA
-
LAPIFORS
-
LEGILIMENS
-
LEPUS_SACCULUM
-
LEVICORPUS
-
LIBERACORPUS
-
LIGATIS_COR
-
LOQUELA_INEPTIAS
-
LUMOS
-
LUMOS_CAERULEUM
-
LUMOS_DUO
-
LUMOS_FERVENS
-
LUMOS_MAXIMA
-
LUMOS_SOLEM
-
MANTEIA_KENTAVROS
-
MEGA_PYRO_PRASINA
-
MELOFORS
-
METELOJINX
-
METELOJINX_RECANTO
-
MOLLIARE
-
MORSMORDRE
-
MORTUOS_SUSCITATE
-
MOV_FOTIA
-
MUCUS_AD_NAUSEAM
-
MUFFLIATO
-
MULTICORFORS
-
NOX
-
NULLUM_APPAREBIT
-
NULLUM_EVANESCUNT
-
OBLIVIATE
-
OBSCURO
-
OPPUGNO
-
OVOGNOSIS
-
PACK
-
PARTIS_TEMPORUS
-
PERICULUM
-
PERICULUM_DUO
-
PERMURATE
-
PETRIFICUS_TOTALUS
-
PIERTOTUM_LOCOMOTOR
-
POINT_ME
-
PORFYRO_ASTERI
-
PORFYRO_ASTERI_DUO
-
PORFYRO_ASTERI_TRIA
-
PORTUS
-
PRIOR_INCANTATO
-
PROPHETEIA
-
PROTEGO
-
PROTEGO_HORRIBILIS
-
PROTEGO_MAXIMA
-
PROTEGO_TOTALUM
-
PULLUS
-
PYRO_PRASINA
-
PYROSVESTIRAS
-
RANACULUS_AMPHORAM
-
REDUCIO
-
REDUCTO
-
REPARIFARGE
-
REPARIFORS
-
REPARO
-
REPELLO_MUGGLETON
-
RICTUSEMPRA
-
SCARABAEUS_FIBULUM
-
SCUTO_CONTERAM
-
SILENCIO
-
SKURGE
-
SNUFFLIFORS
-
SPONGIFY
-
STUPEFY
-
SUS
-
TARANTALLEGRA
-
TERGEO
-
TITILLANDO
-
URSUS
-
VENTO_FOLIO
-
VERA_VERTO
-
VERDIMILLIOUS
-
VERDIMILLIOUS_DUO
-
VERDIMILLIOUS_TRIA
-
VERMILLIOUS
-
VERMILLIOUS_DUO
-
VERMILLIOUS_TRIA
-
VOLATUS
-
WINGARDIUM_LEVIOSA
-
-
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
-
getClassName
Get the class name associated with this spell type- Returns:
- the class name for this spell type
-
getLevel
Get the level for this spell.- Returns:
- the level of this spell
-
getSpellName
Get the spell name for this spell type.- Returns:
- the spell name for this spell type.
-
spellTypeFromString
@Nullable public static @Nullable O2SpellType spellTypeFromString(@NotNull @NotNull String spellString) Get a O2SpellType enum from a string. This should be used as the opposite of toString() on the enum.- Parameters:
spellString- the name of the spell type, ex. "AQUA_ERUCTO"- Returns:
- the spell type
-