Interface OpenShopEvent<G extends Game,E extends org.screamingsandals.lib.utils.Wrapper,P extends BWPlayer,S extends GameStore>
- All Superinterfaces:
BWCancellable
@NonExtendable
public interface OpenShopEvent<G extends Game,E extends org.screamingsandals.lib.utils.Wrapper,P extends BWPlayer,S extends GameStore>
extends BWCancellable
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGame()
static void
handle
(Object plugin, Consumer<OpenShopEvent<Game, org.screamingsandals.lib.utils.Wrapper, BWPlayer, GameStore>> consumer) default boolean
Deprecated.default void
setCancelled
(boolean cancelled) Deprecated.void
setResult
(OpenShopEvent.Result result)
-
Method Details
-
getGame
G getGame() -
getEntity
-
getPlayer
P getPlayer() -
getGameStore
S getGameStore() -
getResult
OpenShopEvent.Result getResult() -
setResult
-
isCancelled
Deprecated.- Specified by:
isCancelled
in interfaceBWCancellable
-
setCancelled
Deprecated.- Specified by:
setCancelled
in interfaceBWCancellable
-
handle
-