Uses of Interface
de.marcely.bedwars.api.game.upgrade.layout.UpgradeShopLayout
Package
Description
-
Uses of UpgradeShopLayout in de.marcely.bedwars.api
Modifier and TypeMethodDescriptionGameAPI.getDefaultUpgradeShopLayout()
Returns the defaultUpgradeShopLayout
that's being used whenever the player clicks on the upgrade dealer@Nullable UpgradeShopLayout
GameAPI.getUpgradeShopLayout
(String layoutName) Tries to look up for a registered layout that has the given name.Modifier and TypeMethodDescriptionGameAPI.getUpgradeShopLayouts()
Returns all existing layouts for the upgrade shopModifier and TypeMethodDescriptionboolean
GameAPI.registerUpgradeShopLayout
(UpgradeShopLayout layout) Create and register your own custom UpgradeShopLayout using this method.boolean
GameAPI.unregisterUpgradeShopLayout
(UpgradeShopLayout layout) Unregister an already existing UpgradeShopLayout using this method. -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.event
Modifier and TypeMethodDescriptionUpgradeShopGUIPostProcessEvent.getLayout()
Returns the layout that was used for the upgrade shop GUIModifierConstructorDescriptionUpgradeShopGUIPostProcessEvent
(Player player, UpgradeShopLayout layout, @Nullable GUI gui) -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.event.player
Modifier and TypeMethodDescriptionPlayerOpenUpgradeShopEvent.getLayout()
Returns the layout that will be used for the GUI.Modifier and TypeMethodDescriptionvoid
PlayerOpenUpgradeShopEvent.setLayout
(UpgradeShopLayout layout) Set the layout of the shop GUI that shall be shown.ModifierConstructorDescriptionPlayerOpenUpgradeShopEvent
(Player player, @Nullable Arena arena, Team team, UpgradeShopLayout layout, UpgradeShopOpenCause cause, @Nullable Object layoutData) -
Uses of UpgradeShopLayout in de.marcely.bedwars.api.game.upgrade.layout
Modifier and TypeMethodDescriptionUpgradeShopLayoutHandler.OpenEvent.getLayout()
Returns the layout that has been opened@Nullable UpgradeShopLayout
UpgradeShopLayoutType.getLayout()
Returns the corresponding layout to this type.
Might return null if the type isUpgradeShopLayoutType.PLUGIN
-
Uses of UpgradeShopLayout in de.marcely.bedwars.api.unsafe