- Enclosing class:
ClientSendMessageEvents
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
boolean
Called when the client is about to send a chat message,
typically from a client GUI.
-
Method Details
-
allowSendChatMessage
boolean allowSendChatMessage(String message)
- Parameters:
message
- the message that will be sent to the server
- Returns:
true
if the message should be sent, otherwise false