Class ZShopBuyEvent
java.lang.Object
org.bukkit.event.Event
fr.maxlego08.zshop.api.event.ShopEvent
fr.maxlego08.zshop.api.event.CancelledShopEvent
fr.maxlego08.zshop.api.event.events.ZShopBuyEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionZShopBuyEvent(org.bukkit.entity.Player player, ItemButton itemButton, int amount, double price, int serverLimit, int playerLimit) -
Method Summary
Modifier and TypeMethodDescriptionintorg.bukkit.entity.PlayerintdoublegetPrice()intvoidsetAmount(int amount) voidsetPlayerLimit(int playerLimit) voidsetPrice(double price) voidsetServerLimit(int serverLimit) Methods inherited from class fr.maxlego08.zshop.api.event.CancelledShopEvent
isCancelled, setCancelledMethods inherited from class fr.maxlego08.zshop.api.event.ShopEvent
call, getHandlerList, getHandlersMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ZShopBuyEvent
public ZShopBuyEvent(org.bukkit.entity.Player player, ItemButton itemButton, int amount, double price, int serverLimit, int playerLimit)
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer() -
getItemButton
-
getAmount
public int getAmount() -
setAmount
public void setAmount(int amount) -
getPrice
public double getPrice() -
setPrice
public void setPrice(double price) -
getServerLimit
public int getServerLimit() -
setServerLimit
public void setServerLimit(int serverLimit) -
getPlayerLimit
public int getPlayerLimit() -
setPlayerLimit
public void setPlayerLimit(int playerLimit)
-