Package xyz.gmitch215.socketmc.events
Class SocketEvent
java.lang.Object
org.bukkit.event.Event
xyz.gmitch215.socketmc.events.SocketEvent
- Direct Known Subclasses:
- AsyncModifiedInputEvent,- AsyncPlayerChangeOptionEvent,- AsyncPlayerClickExternalMessageBoxEvent,- AsyncPlayerMoveMouseEvent,- AsyncPlayerScreenEvent,- AsyncPlayerScrollMouseEvent
Represents an event fired by SocketMC. All SocketMC events are fired asynchronously.
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructorsConstructorDescriptionSocketEvent(@NotNull SocketPlayer player) Creates a new SocketEvent instance.
- 
Method SummaryModifier and TypeMethodDescriptionstatic HandlerListGets the handler list for this event.Gets the player associated with this event.Gets the SocketPlayer associated with this event.toString()Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
SocketEventCreates a new SocketEvent instance.- Parameters:
- player- The player associated with this event
 
 
- 
- 
Method Details- 
getSocketPlayerGets the SocketPlayer associated with this event.- Returns:
- SocketPlayer
 
- 
getPlayerGets the player associated with this event.- Returns:
- Player
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerListGets the handler list for this event.- Returns:
- HandlerList
 
- 
toString
 
-