Class ShopBuyEvent
java.lang.Object
org.bukkit.event.Event
com.andrei1058.bedwars.api.events.shop.ShopBuyEvent
- All Implemented Interfaces:
- org.bukkit.event.Cancellable
public class ShopBuyEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.Eventorg.bukkit.event.Event.Result
- 
Constructor SummaryConstructorsConstructorDescriptionShopBuyEvent(org.bukkit.entity.Player buyer, IArena arena, ICategoryContent categoryContent) Triggered when a player buys from the shopShopBuyEvent(org.bukkit.entity.Player buyer, ICategoryContent categoryContent) Deprecated.
- 
Method SummaryModifier and TypeMethodDescriptiongetArena()org.bukkit.entity.PlayergetBuyer()Get the buyerGet the shop category content bought.static org.bukkit.event.HandlerListorg.bukkit.event.HandlerListbooleanvoidsetCancelled(boolean cancelled) Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
ShopBuyEventDeprecated.Triggered when a player buys from the shop
- 
ShopBuyEventTriggered when a player buys from the shop
 
- 
- 
Method Details- 
getArena
- 
getBuyerpublic org.bukkit.entity.Player getBuyer()Get the buyer
- 
getCategoryContentGet the shop category content bought.
- 
getHandlerspublic org.bukkit.event.HandlerList getHandlers()- Specified by:
- getHandlersin class- org.bukkit.event.Event
 
- 
getHandlerListpublic static org.bukkit.event.HandlerList getHandlerList()
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- org.bukkit.event.Cancellable
 
- 
setCancelledpublic void setCancelled(boolean cancelled) - Specified by:
- setCancelledin interface- org.bukkit.event.Cancellable
 
 
- 
ShopBuyEvent(Player, IArena, ICategoryContent)