Class SubInventoryOpenEvent
java.lang.Object
org.screamingsandals.simpleinventories.events.SubInventoryOpenEvent
- All Implemented Interfaces:
org.screamingsandals.lib.event.Cancellable
,org.screamingsandals.lib.event.SCancellableEvent
,org.screamingsandals.lib.event.SEvent
public class SubInventoryOpenEvent
extends Object
implements org.screamingsandals.lib.event.SCancellableEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.screamingsandals.lib.event.SEvent
org.screamingsandals.lib.event.SEvent.Result
-
Constructor Summary
ConstructorDescriptionSubInventoryOpenEvent
(org.screamingsandals.lib.player.PlayerWrapper player, SubInventory subInventory, int page) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
int
getPage()
org.screamingsandals.lib.player.PlayerWrapper
int
hashCode()
boolean
void
setCancelled
(boolean cancelled) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.screamingsandals.lib.event.SEvent
isAsync
-
Constructor Details
-
SubInventoryOpenEvent
public SubInventoryOpenEvent(org.screamingsandals.lib.player.PlayerWrapper player, SubInventory subInventory, int page)
-
-
Method Details
-
getFormat
-
getParent
-
getPlayer
public org.screamingsandals.lib.player.PlayerWrapper getPlayer() -
getSubInventory
-
getPage
public int getPage() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.screamingsandals.lib.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.screamingsandals.lib.event.Cancellable
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-