Klasse ResaleListingCreatedEvent

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

public final class ResaleListingCreatedEvent extends org.bukkit.event.Event
Fired synchronously after a resale listing and its audit entry are persisted successfully.
  • Konstruktordetails

    • ResaleListingCreatedEvent

      public ResaleListingCreatedEvent(EstateRegion previousRegion, Listing listing, OperationCause cause)
      Creates the completed resale-publication event.
      Parameter:
      previousRegion - immutable parcel state before publication
      listing - durable active resale listing
      cause - initiating subsystem
  • Methodendetails

    • previousRegion

      public EstateRegion previousRegion()
      Returns the previous parcel state.
      Gibt zurück:
      immutable sold parcel
    • listing

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

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