Class PlayerUIInputTextEvent
java.lang.Object
net.risingworld.api.events.Event
net.risingworld.api.events.player.PlayerEvent
net.risingworld.api.events.player.ui.PlayerUIInputTextEvent
Called when a player enters a text into a
UITextField
, or more precisely, once
he either presses enter or once the textfield loses the focus (i.e the player clicks somewhere else)-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetText()
Gets the text the player has entered.Gets the text field element where the player has entered text.Methods inherited from class net.risingworld.api.events.player.PlayerEvent
getPlayer
-
Method Details
-
getUITextField
Gets the text field element where the player has entered text.- Returns:
- the text field.
-
getText
Gets the text the player has entered.- Returns:
- the input.
-