2021-02-16 12:26:40 -05:00
|
|
|
#pragma once
|
|
|
|
|
2024-02-02 04:20:34 -05:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
// Message Limitations
|
|
|
|
#define MAX_CHAT_MESSAGE_LENGTH 256
|
|
|
|
|
|
|
|
// Message Prefix
|
|
|
|
__attribute__((visibility("internal"))) std::string _chat_get_prefix(char *username);
|
2021-02-16 12:26:40 -05:00
|
|
|
|
2024-02-02 04:20:34 -05:00
|
|
|
// Queue Message For Sending
|
2021-09-11 23:18:12 -04:00
|
|
|
#ifndef MCPI_SERVER_MODE
|
2024-02-01 03:12:24 -05:00
|
|
|
__attribute__((visibility("internal"))) void _chat_queue_message(const char *message);
|
|
|
|
#endif
|
|
|
|
|
2024-02-02 04:20:34 -05:00
|
|
|
// Init Chat UI
|
2024-02-01 03:12:24 -05:00
|
|
|
#ifndef MCPI_HEADLESS_MODE
|
|
|
|
__attribute__((visibility("internal"))) void _init_chat_ui();
|
2022-06-25 17:30:08 -04:00
|
|
|
#endif
|