Class ShopBuyEvent


  • public class ShopBuyEvent
    extends org.bukkit.event.Event
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.bukkit.event.Event

        org.bukkit.event.Event.Result
    • Constructor Summary

      Constructors 
      Constructor Description
      ShopBuyEvent​(org.bukkit.entity.Player buyer, ICategoryContent categoryContent)
      Triggered when a player buys from the shop
    • Method Summary

      Modifier and Type Method Description
      org.bukkit.entity.Player getBuyer()
      Get the buyer
      ICategoryContent getCategoryContent()
      Get the shop category content bought.
      static org.bukkit.event.HandlerList getHandlerList()  
      org.bukkit.event.HandlerList getHandlers()  
      • Methods inherited from class org.bukkit.event.Event

        getEventName, isAsynchronous
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShopBuyEvent

        public ShopBuyEvent​(org.bukkit.entity.Player buyer,
                            ICategoryContent categoryContent)
        Triggered when a player buys from the shop
    • Method Detail

      • getBuyer

        public org.bukkit.entity.Player getBuyer()
        Get the buyer
      • getCategoryContent

        public ICategoryContent getCategoryContent()
        Get the shop category content bought.
      • getHandlers

        public org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()