// Path: src/main/java/pl/joegreen/sergeants/api/response/ChatMessageApiResponse.java
// @Value
// public class ChatMessageApiResponse {
//     /**
//      * Name of the author of the message.
//      */
//     private String username;
//     /**
//      * Player index of the author of the message.
//      */
//     private int playerIndex;
//     /**
//      * Actual content of the message
//      */
//     private String text;
// }


import pl.joegreen.sergeants.api.response.ChatMessageApiResponse;
package pl.joegreen.sergeants.api.listener;


@FunctionalInterface
public interface ChatMessageListener {
// Path: src/main/java/pl/joegreen/sergeants/api/response/ChatMessageApiResponse.java
// @Value
// public class ChatMessageApiResponse {
//     /**
//      * Name of the author of the message.
//      */
//     private String username;
//     /**
//      * Player index of the author of the message.
//      */
//     private int playerIndex;
//     /**
//      * Actual content of the message
//      */
//     private String text;
// }


// Path: src/main/java/pl/joegreen/sergeants/api/listener/ChatMessageListener.java
import pl.joegreen.sergeants.api.response.ChatMessageApiResponse;

package pl.joegreen.sergeants.api.listener;


@FunctionalInterface
public interface ChatMessageListener {
    void onEvent(String chatRoom, ChatMessageApiResponse message);