minecraft-pi-reborn/mods/src/chat/chat-internal.h

17 lines
445 B
C
Raw Permalink Normal View History

2021-02-16 17:26:40 +00:00
#pragma once
#include <string>
2024-05-09 05:25:53 +00:00
#include <symbols/minecraft.h>
// Message Limitations
#define MAX_CHAT_MESSAGE_LENGTH 256
// Message Prefix
__attribute__((visibility("internal"))) std::string _chat_get_prefix(char *username);
2021-02-16 17:26:40 +00:00
// Queue Message For Sending
2024-05-09 05:25:53 +00:00
__attribute__((visibility("internal"))) void _chat_send_message(Minecraft *minecraft, const char *message);
2024-02-01 08:12:24 +00:00
// Init Chat UI
2024-05-09 05:25:53 +00:00
__attribute__((visibility("internal"))) void _init_chat_ui();