Klasse RegionBoughtEvent

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

public final class RegionBoughtEvent extends org.bukkit.event.Event
Fired synchronously after purchase persistence, protection updates, payout, and audit succeed.
  • Konstruktordetails

    • RegionBoughtEvent

      public RegionBoughtEvent(EstateRegion previousRegion, PurchaseTransaction transaction, OperationCause cause)
      Creates the completed-purchase event.
      Parameter:
      previousRegion - immutable region snapshot from before reservation
      transaction - immutable completed transaction projection
      cause - initiating subsystem
  • Methodendetails

    • previousRegion

      public EstateRegion previousRegion()
      Returns the previous region state.
      Gibt zurück:
      immutable region snapshot observed before the purchase
    • transaction

      public PurchaseTransaction transaction()
      Returns the durable result.
      Gibt zurück:
      completed purchase transaction
    • cause

      public OperationCause cause()
      Returns the origin.
      Gibt zurück:
      initiating operation cause
    • 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 for this event type.
      Gibt zurück:
      handler list