Klasse ListingCancelledEvent

java.lang.Object
org.bukkit.event.Event
de.delinkedde.areashopreborn.event.ListingCancelledEvent

public final class ListingCancelledEvent extends org.bukkit.event.Event
Fired synchronously after listing cancellation, region restoration, and audit commit.
  • Konstruktordetails

    • ListingCancelledEvent

      public ListingCancelledEvent(UUID actorId, EstateRegion previousRegion, Listing previousListing, OperationCause cause)
      Creates the completed listing-cancellation event.
      Parameter:
      actorId - authorized seller or administrator
      previousRegion - region before cancellation
      previousListing - active listing before cancellation
      cause - initiating subsystem
  • Methodendetails

    • actorId

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

      public EstateRegion previousRegion()
      Returns the previous region.
      Gibt zurück:
      immutable region before cancellation
    • previousListing

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

      public OperationCause cause()
      Returns the origin.
      Gibt zurück:
      initiating subsystem
    • 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