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
Handles all expansion type events.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
ConstructorDescriptionExpansionEvent
(PluginExpansion expansion) ExpansionEvent
(PluginExpansion expansion, boolean async) -
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, getHandlers, isAsynchronous
-
Constructor Details
-
ExpansionEvent
- Parameters:
expansion
- The expansion for this event.
-
ExpansionEvent
- Parameters:
expansion
- The expansion for this event.async
- If the event is triggered as async.
-
-
Method Details
-
getExpansion
- Returns:
- The expansion for this event.
-