mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
[CSM] Add send_chat_message and run_server_chatcommand API functions (#5747)
* [CSM] Add send_chat_message and run_server_chatcommand API functions * Add client-side chat message rate limiting * Limit out chat queue size * [CSM] Add minetest.clear_out_chat_queue API function and .clear_chat_queue chatcommand * Last fixes/cleanups before merge
This commit is contained in:
committed by
Loïc Blot
parent
ec490abf58
commit
39f4a2f607
@@ -37,6 +37,12 @@ private:
|
||||
// display_chat_message(message)
|
||||
static int l_display_chat_message(lua_State *L);
|
||||
|
||||
// send_chat_message(message)
|
||||
static int l_send_chat_message(lua_State *L);
|
||||
|
||||
// clear_out_chat_queue()
|
||||
static int l_clear_out_chat_queue(lua_State *L);
|
||||
|
||||
// get_player_names()
|
||||
static int l_get_player_names(lua_State *L);
|
||||
|
||||
|
Reference in New Issue
Block a user