Class AuctionExpireUpdateEvent

All Implemented Interfaces:
Cancellable

public class AuctionExpireUpdateEvent extends AuctionUpdateEvent<Long>
Event that is triggered before an auctions' expire time has been updated.
  • Constructor Details

    • AuctionExpireUpdateEvent

      public AuctionExpireUpdateEvent(Long oldTime, Auction playerAuction)
      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

      public static HandlerList getHandlerList()
    • getHandlers

      @Nonnull public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getPlayerAuction

      public Auction getPlayerAuction()
      Returns:
      The auction instance that will be updated.
    • hasExpired

      public boolean hasExpired()
      Returns:
      If the auction is going to expire.