Class AuctionPlayerUpdateEvent
java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.update.AuctionUpdateEvent<APlayer>
com.olziedev.playerauctions.api.events.update.AuctionPlayerUpdateEvent
- All Implemented Interfaces:
Cancellable
Event that is triggered before a players' data has been updated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe list of data that can be updated in theAuctionPlayerUpdateEventevent.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionAuctionPlayerUpdateEvent(APlayer auctionPlayer, AuctionPlayerUpdateEvent.Type type) This event is triggered before a players' data has been updated. -
Method Summary
Methods inherited from class com.olziedev.playerauctions.api.events.update.AuctionUpdateEvent
getOldValue, getUpdatedValueMethods inherited from class com.olziedev.playerauctions.api.events.AuctionEvent
acceptCallback, callEvent, getPlayerAuctionsAPI, isCancelled, isWaitingForCallback, postEvent, postEvent, setCancelled, setEventCallback, waitForCallbackMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
AuctionPlayerUpdateEvent
This event is triggered before a players' data has been updated.- Parameters:
auctionPlayer- The player instance that is going to update. You can get the player either fromAuctionUpdateEvent.getUpdatedValue()orAuctionUpdateEvent.getOldValue()* they both return the same instance of the player.type- The type of data that has been updated for that player.
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getType
- Returns:
- The type of data that has been updated for that player.
-