Uses of Enum
de.marcely.bedwars.api.game.shop.ShopOpenCause
Package
Description
-
Uses of ShopOpenCause in de.marcely.bedwars.api
Modifier and TypeMethodDescriptiondefault void
GameAPI.openShop
(Player player, ShopLayout layout, ShopOpenCause cause) Opens the shop for a player.void
GameAPI.openShop
(Player player, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage shopPage) Opens the shop for a player.default void
GameAPI.openShop
(Player player, ShopOpenCause cause) Opens the shop for a player. -
Uses of ShopOpenCause in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerOpenShopEvent.getCause()
Returns the way how the player opened the shopPlayerBuyInShopEvent.getOpenCause()
Returns they way the player opened the shop.ModifierConstructorDescriptionPlayerBuyInShopEvent
(Player player, Arena arena, ShopItem item, @Nullable ShopItem clonedItem, ShopOpenCause openCause, boolean shiftClick, @Nullable Integer targetInvSlot, int multiplier, List<PlayerBuyInShopEvent.Problem> problems, boolean giveProducts, boolean takePayments) PlayerOpenShopEvent
(Player player, @Nullable Arena arena, ShopLayout layout, ShopOpenCause cause, @Nullable ShopPage page, @Nullable Object layoutData) -
Uses of ShopOpenCause in de.marcely.bedwars.api.game.shop
Modifier and TypeMethodDescriptionstatic ShopOpenCause
Returns the enum constant of this type with the specified name.static ShopOpenCause[]
ShopOpenCause.values()
Returns an array containing the constants of this enum type, in the order they are declared.