Interface StorePrePurchaseEvent<G extends Game,P extends BWPlayer,I extends org.screamingsandals.lib.utils.Wrapper,T extends ItemSpawnerType>
- All Superinterfaces:
BWCancellable
@NonExtendable
public interface StorePrePurchaseEvent<G extends Game,P extends BWPlayer,I extends org.screamingsandals.lib.utils.Wrapper,T extends ItemSpawnerType>
extends BWCancellable
-
Method Summary
Modifier and TypeMethodDescriptiongetGame()
getType()
static void
handle
(Object plugin, Consumer<StorePrePurchaseEvent<Game, BWPlayer, org.screamingsandals.lib.utils.Wrapper, ItemSpawnerType>> consumer) Methods inherited from interface org.screamingsandals.bedwars.api.events.BWCancellable
isCancelled, setCancelled
-
Method Details
-
getGame
G getGame() -
getPlayer
P getPlayer() -
getMaterialItem
I getMaterialItem() -
getNewItem
I getNewItem() -
getSpawnerType
T getSpawnerType() -
getType
PurchaseType getType() -
handle
static void handle(Object plugin, Consumer<StorePrePurchaseEvent<Game, BWPlayer, org.screamingsandals.lib.utils.Wrapper, ItemSpawnerType>> consumer)
-