Class AuctionExpireUpdateEvent
java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.update.AuctionUpdateEvent<Long>
com.olziedev.playerauctions.api.events.update.AuctionExpireUpdateEvent
- All Implemented Interfaces:
Cancellable
Event that is triggered before an auctions' expire time has been updated.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionAuctionExpireUpdateEvent
(Long oldTime, Auction playerAuction) This event is triggered before an auctions' expire time 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
-
AuctionExpireUpdateEvent
This event is triggered before an auctions' expire time has been updated.- Parameters:
oldTime
- The old expiry time that will be updated in milliseconds.playerAuction
- The auction instance that will be updated.
-
-
Method Details
-
getHandlerList
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getPlayerAuction
- Returns:
- The auction instance that will be updated.
-
hasExpired
public boolean hasExpired()- Returns:
- If the auction is going to expire.
-