Interface ClientSendMessageEvents.Chat

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.

@FunctionalInterface public static interface ClientSendMessageEvents.Chat
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when the client sends a chat message, typically from a client GUI.
  • Method Details

    • onSendChatMessage

      void onSendChatMessage(String message)
      Called when the client sends a chat message, typically from a client GUI. Is not called when chat messages are blocked.
      Parameters:
      message - the message that will be sent to the server