Class AuctionPreSellEvent

java.lang.Object
org.bukkit.event.Event
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class AuctionPreSellEvent extends CancelledAuctionEvent
  • Constructor Details

    • AuctionPreSellEvent

      public AuctionPreSellEvent(org.bukkit.entity.Player player, int amount, UUID auctionItemUniqueId, long expiredAt, AuctionEconomy economy, long price, org.bukkit.inventory.ItemStack itemStack)
      Parameters:
      player -
      amount -
      auctionItemUniqueId -
      expiredAt -
      economy -
      price -
      itemStack -
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
      Returns:
      the player
    • getAmount

      public int getAmount()
      Returns:
      the amount
    • getAuctionItemUniqueId

      public UUID getAuctionItemUniqueId()
      Returns:
      the auctionItemUniqueId
    • getExpiredAt

      public long getExpiredAt()
      Returns:
      the expiredAt
    • getEconomy

      public AuctionEconomy getEconomy()
      Returns:
      the economy
    • getPrice

      public long getPrice()
      Returns:
      the price
    • getItemStack

      public org.bukkit.inventory.ItemStack getItemStack()
      Returns:
      the itemStack
    • setExpiredAt

      public void setExpiredAt(long expiredAt)
      Parameters:
      expiredAt - the expiredAt to set
    • setEconomy

      public void setEconomy(AuctionEconomy economy)
      Parameters:
      economy - the economy to set
    • setPrice

      public void setPrice(long price)
      Parameters:
      price - the price to set
    • setItemStack

      public void setItemStack(org.bukkit.inventory.ItemStack itemStack)
      Parameters:
      itemStack - the itemStack to set