summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_client.h
diff options
context:
space:
mode:
authorred-001 <red-001@outlook.ie>2017-01-22 08:05:09 +0000
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-03-13 23:56:05 +0100
commitd7bc346981e189851e490f2417ed015a38bca79b (patch)
treec74716238c0851b8d9531544faa4433db22e6a84 /src/script/lua_api/l_client.h
parent9978f5af828550d819890fed1fc56d65838a2c4c (diff)
downloadminetest-d7bc346981e189851e490f2417ed015a38bca79b.tar.gz
minetest-d7bc346981e189851e490f2417ed015a38bca79b.tar.bz2
minetest-d7bc346981e189851e490f2417ed015a38bca79b.zip
[CSM] Add client-sided chat commands (#5092)
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r--src/script/lua_api/l_client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h
index b4a57cb61..e3106e742 100644
--- a/src/script/lua_api/l_client.h
+++ b/src/script/lua_api/l_client.h
@@ -28,8 +28,16 @@ class ModApiClient : public ModApiBase
private:
// get_current_modname()
static int l_get_current_modname(lua_State *L);
+
+ // display_chat_message(message)
static int l_display_chat_message(lua_State *L);
+ // get_last_run_mod(n)
+ static int l_get_last_run_mod(lua_State *L);
+
+ // set_last_run_mod(modname)
+ static int l_set_last_run_mod(lua_State *L);
+
public:
static void Initialize(lua_State *L, int top);
};