public class LobbyClickEvent extends MGRoundEvent
Note: If you
wish to cancel this event, you must instead listen to the PlayerJoinMinigameRoundEvent
and cancel that.
round
plugin
Constructor and Description |
---|
LobbyClickEvent(java.lang.String player,
Round round,
LobbySign lobbySign,
JoinResult result)
Creates a new instance of this event.
|
Modifier and Type | Method and Description |
---|---|
LobbySign |
getLobbySign()
Retrieves the
lobby sign object involved in this event. |
java.lang.String |
getPlayer()
Retrieves the name of the player involved in this event.
|
JoinResult |
getResult()
Retrieves the result of the event.
|
getRound
getHandlerList, getHandlers, getPlugin, uninitialize
public LobbyClickEvent(java.lang.String player, Round round, LobbySign lobbySign, JoinResult result)
player
- the name of the player who clicked a lobby signround
- the round which the lobby sign is linked tolobbySign
- the lobby sign
which has been clickedresult
- the result of the player being added to the roundpublic java.lang.String getPlayer()
public LobbySign getLobbySign()
lobby sign
object involved in this event.lobby sign
object involved in this eventpublic JoinResult getResult()