Enum AuctionPlayerUpdateEvent.Type
java.lang.Object
java.lang.Enum<AuctionPlayerUpdateEvent.Type>
com.olziedev.playerauctions.api.events.update.AuctionPlayerUpdateEvent.Type
- All Implemented Interfaces:
Serializable
,Comparable<AuctionPlayerUpdateEvent.Type>
,java.lang.constant.Constable
- Enclosing class:
- AuctionPlayerUpdateEvent
The list of data that can bee changed in the
AuctionPlayerUpdateEvent
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 whenAPlayer.setLanguage(String)
has been called.This constant is used whenAPlayer.setLogs(List)
has been called.This constant is used whenAPlayer.addMadeOffline(String, ACurrency, double)
has been called.This constant is used whenAPlayer.manageMessage(String, boolean)
has been called.This constant is used whenAPlayer#addRecentAuction(long, UUID, double, ACurrency, ASerializableProduct, RecentAuctionType, Runnable)
has been called.This constant is used whenAPlayer.setStaticAuctions(long)
has been called. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static AuctionPlayerUpdateEvent.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
-
RECENT_AUCTION_UPDATE
This constant is used whenAPlayer#addRecentAuction(long, UUID, double, ACurrency, ASerializableProduct, RecentAuctionType, Runnable)
has been called. -
STATIC_AUCTIONS_UPDATE
This constant is used whenAPlayer.setStaticAuctions(long)
has been called. -
MESSAGE_UPDATE
This constant is used whenAPlayer.manageMessage(String, boolean)
has been called. -
LOGS_UPDATE
This constant is used whenAPlayer.setLogs(List)
has been called. -
MADE_OFFLINE_UPDATE
This constant is used whenAPlayer.addMadeOffline(String, ACurrency, double)
has been called. -
LANGUAGE_UPDATE
This constant is used whenAPlayer.setLanguage(String)
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
-