Klasse ListingCancellingEvent
java.lang.Object
org.bukkit.event.Event
de.delinkedde.areashopreborn.event.ListingCancellingEvent
- Alle implementierten Schnittstellen:
org.bukkit.event.Cancellable
public final class ListingCancellingEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Fired synchronously before an active listing is cancelled and its region state is restored.
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.bukkit.event.Event
org.bukkit.event.Event.Result -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungListingCancellingEvent(UUID actorId, EstateRegion region, Listing listing, OperationCause cause) Creates the cancellable listing-removal event. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungactorId()Returns the actor.cause()Returns the origin.static org.bukkit.event.HandlerListReturns Bukkit's static handler registry.org.bukkit.event.HandlerListbooleanlisting()Returns the listing.region()Returns the region.voidsetCancelled(boolean cancelled) Von Klasse geerbte Methoden org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Konstruktordetails
-
ListingCancellingEvent
public ListingCancellingEvent(UUID actorId, EstateRegion region, Listing listing, OperationCause cause) Creates the cancellable listing-removal event.- Parameter:
actorId- authorized seller or administratorregion- affected regionlisting- active listingcause- initiating subsystem
-
-
Methodendetails
-
actorId
Returns the actor.- Gibt zurück:
- authorized actor
-
region
Returns the region.- Gibt zurück:
- immutable affected region
-
listing
Returns the listing.- Gibt zurück:
- immutable active listing
-
cause
Returns the origin.- Gibt zurück:
- initiating subsystem
-
isCancelled
public boolean isCancelled()- Angegeben von:
isCancelledin Schnittstelleorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Angegeben von:
setCancelledin Schnittstelleorg.bukkit.event.Cancellable
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Angegeben von:
getHandlersin Klasseorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Returns Bukkit's static handler registry.- Gibt zurück:
- handler list
-