Class AsyncPlayerClickExternalMessageBoxEvent
java.lang.Object
org.bukkit.event.Event
xyz.gmitch215.socketmc.events.SocketEvent
xyz.gmitch215.socketmc.events.input.AsyncPlayerClickExternalMessageBoxEvent
Called when a player clicks a button from an external message box, generated from 
Instruction.EXTERNAL_WINDOW_MESSAGE_BOX.- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Constructor Summary
ConstructorsConstructorDescriptionAsyncPlayerClickExternalMessageBoxEvent(boolean isSuccess, @NotNull SocketPlayer player) Creates a new AsyncPlayerClickExternalMessageBoxEvent. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the player did not click on cancel.Methods inherited from class xyz.gmitch215.socketmc.events.SocketEvent
getHandlerList, getHandlers, getPlayer, getSocketPlayer, toStringMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous 
- 
Constructor Details
- 
AsyncPlayerClickExternalMessageBoxEvent
public AsyncPlayerClickExternalMessageBoxEvent(boolean isSuccess, @NotNull @NotNull SocketPlayer player) Creates a new AsyncPlayerClickExternalMessageBoxEvent.- Parameters:
 isSuccess- Whether the player exited the window with successplayer- The player associated with this event
 
 - 
 - 
Method Details
- 
isSuccess
public boolean isSuccess()Returns whether the player did not click on cancel.- Returns:
 - Whether the window was closed with success
 
 
 -