Enum WarpPlayerUpdateEvent.Type
java.lang.Object
java.lang.Enum<WarpPlayerUpdateEvent.Type>
com.olziedev.playerwarps.api.events.update.WarpPlayerUpdateEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<WarpPlayerUpdateEvent.Type>
,java.lang.constant.Constable
- Enclosing class:
- WarpPlayerUpdateEvent
The list of data that can bee changed in the
WarpPlayerUpdateEvent
event.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThis constant is used whenWPlayer.setEarnedRateRewards(List)
has been called.This constant is used whenWPlayer.setFavouriteWarps(List)
has been called.This constant is used whenWPlayer.setLanguage(String)
has been called.This constant is used whenWPlayer.setLastPlayed(Long)
has been called.This constant is used whenWPlayer.setLogs(List)
has been called.This constant is used whenWPlayer.manageMessage(String, boolean)
has been called.This constant is used whenWPlayer.setPendingWarp(Warp, Runnable)
has been called.This constant is used whenWPlayer.setSponsorCooldown(Long, boolean)
has been called.This constant is used whenWPlayer.setStaticWarps(long)
has been called.This constant is used whenWPlayer.setVisitedWarps(List)
has been called. -
Method Summary
Modifier and TypeMethodDescriptionstatic WarpPlayerUpdateEvent.Type
Returns the enum constant of this type with the specified name.static WarpPlayerUpdateEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LAST_PLAYED_UPDATE
This constant is used whenWPlayer.setLastPlayed(Long)
has been called. -
PENDING_WARP_UPDATE
This constant is used whenWPlayer.setPendingWarp(Warp, Runnable)
has been called. -
SPONSOR_COOLDOWN_UPDATE
This constant is used whenWPlayer.setSponsorCooldown(Long, boolean)
has been called. -
VISITED_WARPS_UPDATE
This constant is used whenWPlayer.setVisitedWarps(List)
has been called. -
FAVOURITE_WARPS_UPDATE
This constant is used whenWPlayer.setFavouriteWarps(List)
has been called. -
MESSAGE_UPDATE
This constant is used whenWPlayer.manageMessage(String, boolean)
has been called. -
LOGS_UPDATE
This constant is used whenWPlayer.setLogs(List)
has been called. -
STATIC_WARPS_UPDATE
This constant is used whenWPlayer.setStaticWarps(long)
has been called. -
LANGUAGE_UPDATE
This constant is used whenWPlayer.setLanguage(String)
has been called. -
EARNED_RATE_REWARDS_UPDATE
This constant is used whenWPlayer.setEarnedRateRewards(List)
has been called.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-