Klasse ResaleListingCreatingEvent

java.lang.Object
org.bukkit.event.Event
de.delinkedde.areashopreborn.event.ResaleListingCreatingEvent
Alle implementierten Schnittstellen:
org.bukkit.event.Cancellable

public final class ResaleListingCreatingEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
Fired synchronously before an owned parcel is published for resale.
  • Konstruktordetails

    • ResaleListingCreatingEvent

      public ResaleListingCreatingEvent(EstateRegion region, Listing proposedListing, OperationCause cause)
      Creates the cancellable pre-publication event.
      Parameter:
      region - immutable sold parcel snapshot
      proposedListing - proposed resale listing not yet persisted
      cause - initiating subsystem
  • Methodendetails

    • region

      public EstateRegion region()
      Returns the sold parcel.
      Gibt zurück:
      immutable parcel snapshot
    • proposedListing

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

      public OperationCause cause()
      Returns the operation 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