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.
  • Konstruktordetails

    • ListingCancellingEvent

      public ListingCancellingEvent(UUID actorId, EstateRegion region, Listing listing, OperationCause cause)
      Creates the cancellable listing-removal event.
      Parameter:
      actorId - authorized seller or administrator
      region - affected region
      listing - active listing
      cause - initiating subsystem
  • Methodendetails

    • actorId

      public UUID actorId()
      Returns the actor.
      Gibt zurück:
      authorized actor
    • region

      public EstateRegion region()
      Returns the region.
      Gibt zurück:
      immutable affected region
    • listing

      public Listing listing()
      Returns the listing.
      Gibt zurück:
      immutable active listing
    • cause

      public OperationCause cause()
      Returns the origin.
      Gibt zurück:
      initiating subsystem
    • isCancelled

      public boolean isCancelled()
      Angegeben von:
      isCancelled in Schnittstelle org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Angegeben von:
      setCancelled in Schnittstelle org.bukkit.event.Cancellable
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Angegeben von:
      getHandlers in Klasse org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Returns Bukkit's static handler registry.
      Gibt zurück:
      handler list