Some checks failed
Build / Build (AMD64, Server) (push) Successful in 9m42s
Build / Build (AMD64, Client) (push) Successful in 9m52s
Build / Build (ARM64, Server) (push) Successful in 9m55s
Build / Build (ARM64, Client) (push) Successful in 10m20s
Build / Build (ARMHF, Server) (push) Successful in 6m59s
Build / Build (ARMHF, Client) (push) Successful in 9m9s
Build / Test (Client) (push) Failing after 10m13s
Build / Release (push) Has been skipped
Build / Test (Server) (push) Successful in 10m4s
22 lines
493 B
C++
22 lines
493 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include <libreborn/libreborn.h>
|
|
|
|
// Message Limitations
|
|
#define MAX_CHAT_MESSAGE_LENGTH 256
|
|
|
|
// Message Prefix
|
|
__attribute__((visibility("internal"))) std::string _chat_get_prefix(char *username);
|
|
|
|
// Queue Message For Sending
|
|
#ifndef MCPI_SERVER_MODE
|
|
__attribute__((visibility("internal"))) void _chat_queue_message(const char *message);
|
|
#endif
|
|
|
|
// Init Chat UI
|
|
#ifndef MCPI_HEADLESS_MODE
|
|
__attribute__((visibility("internal"))) void _init_chat_ui();
|
|
#endif
|