Class StockHolderEvent
java.lang.Object
net.okocraft.box.api.event.BoxEvent
net.okocraft.box.api.event.stockholder.StockHolderEvent
- Direct Known Subclasses:
StockEvent,StockHolderLoadEvent,StockHolderResetEvent,StockHolderSaveEvent
A class that represents a
StockHolder related event.-
Constructor Summary
ConstructorsConstructorDescriptionStockHolderEvent(@NotNull StockHolder stockHolder) The constructor ofStockHolderEvent. -
Method Summary
Modifier and TypeMethodDescription@NotNull StockHolderGets the stockholder.@NotNull StringCreates the debug log from this event.toString()
-
Constructor Details
-
StockHolderEvent
The constructor ofStockHolderEvent.- Parameters:
stockHolder- the stockholder of the event
-
-
Method Details
-
getStockHolder
Gets the stockholder.- Returns:
- the stockholder
-
toDebugLog
Description copied from class:BoxEventCreates the debug log from this event.- Overrides:
toDebugLogin classBoxEvent- Returns:
- the debug log
-
toString
-