Class PlayerEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.player.PlayerEvent
- Direct Known Subclasses:
PlayerCollectItemInfoEvent
,PlayerLoadEvent
,PlayerStockHolderChangeEvent
,PlayerUnloadEvent
A class that represents a
BoxPlayer
related event.-
Constructor Details
-
PlayerEvent
The constructor of aPlayerEvent
.- Parameters:
boxPlayer
- the player of this event
-
-
Method Details
-
getBoxPlayer
Gets the player of this event.- Returns:
- the player of this event
-
toDebugLog
Description copied from class:BoxEvent
Creates the debug log from this event.- Overrides:
toDebugLog
in classBoxEvent
- Returns:
- the debug log
-
toString
-