Class PlayerAuctionRemoveEvent
java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.auction.PlayerAuctionRemoveEvent
- All Implemented Interfaces:
Cancellable
Event that is triggered before an auction has been removed.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
List of all possible causes that will trigger the auction removal.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionPlayerAuctionRemoveEvent
(Auction playerAuction, PlayerAuctionRemoveEvent.Cause cause) This event is triggered before an auction has been removed. -
Method Summary
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
-
PlayerAuctionRemoveEvent
This event is triggered before an auction has been removed.- Parameters:
playerAuction
- The auction instance that will be removed.cause
- The cause will trigger the auction removal.
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getPlayerAuction
- Returns:
- The auction instance that will be removed.
-
getCause
- Returns:
- The cause will trigger the auction removal.
-