Class ExpansionEvent

java.lang.Object
org.bukkit.event.Event
com.olziedev.playerauctions.api.events.AuctionEvent
com.olziedev.playerauctions.api.events.expansion.ExpansionEvent
All Implemented Interfaces:
Cancellable
Direct Known Subclasses:
AuctionExpansionLoadEvent, AuctionExpansionUnloadEvent

public abstract class ExpansionEvent extends AuctionEvent
Handles all expansion type events.
  • Constructor Details

    • ExpansionEvent

      public ExpansionEvent(PluginExpansion expansion)
      Parameters:
      expansion - The expansion for this event.
    • ExpansionEvent

      public ExpansionEvent(PluginExpansion expansion, boolean async)
      Parameters:
      expansion - The expansion for this event.
      async - If the event is triggered as async.
  • Method Details

    • getExpansion

      public PluginExpansion getExpansion()
      Returns:
      The expansion for this event.