Class PlayerAuctionUpdateEvent
java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.update.AuctionUpdateEvent<Auction>
com.olziedev.playerauctions.api.events.update.PlayerAuctionUpdateEvent
- All Implemented Interfaces:
Cancellable
Event that is triggered before an auction has been updated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The list of data that can bee updated in thePlayerAuctionUpdateEvent
event.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorsConstructorDescriptionPlayerAuctionUpdateEvent
(Auction auction, PlayerAuctionUpdateEvent.Type type) This event is triggered before as auction' data has been updated. -
Method Summary
Methods inherited from class com.olziedev.playerauctions.api.events.update.AuctionUpdateEvent
getOldValue, getUpdatedValue
Methods inherited from class com.olziedev.playerauctions.api.events.AuctionEvent
acceptCallback, callEvent, getPlayerAuctionsAPI, isCancelled, isWaitingForCallback, postEvent, postEvent, setCancelled, setEventCallback, waitForCallback
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerAuctionUpdateEvent
This event is triggered before as auction' data has been updated.- Parameters:
auction
- The auction instance that is going to update. You can get the auction either fromAuctionUpdateEvent.getUpdatedValue()
orAuctionUpdateEvent.getOldValue()
they both return the same instance of the auction.type
- The type of data that has been updated for that auction.
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getType
- Returns:
- The type of data that has been updated for that auction.
-