#pragma once #include #include #ifdef __cplusplus #include // Send API Command std::string chat_send_api_command(Minecraft *minecraft, std::string str); #endif #ifdef __cplusplus extern "C" { #endif #ifndef MCPI_SERVER_MODE void chat_open(); #endif // Override using the HOOK() macro to provide customized chat behavior. void chat_send_message(ServerSideNetworkHandler *server_side_network_handler, char *username, char *message); void chat_handle_packet_send(Minecraft *minecraft, ChatPacket *packet); #ifdef __cplusplus } #endif