diff options
author | red-001 <red-001@outlook.ie> | 2017-06-07 08:09:06 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-06-07 09:09:06 +0200 |
commit | c91a8c7061c83a33cca929859ea811afb985ac0a (patch) | |
tree | 28d90cc8f57d35eedb2d25ffd6456ffddb80adf1 /src/script/lua_api/l_client.h | |
parent | 6c558744179b52607d552d28bf6cc6a4e49a2a14 (diff) | |
download | minetest-c91a8c7061c83a33cca929859ea811afb985ac0a.tar.gz minetest-c91a8c7061c83a33cca929859ea811afb985ac0a.tar.bz2 minetest-c91a8c7061c83a33cca929859ea811afb985ac0a.zip |
[CSM] Add function to get player privileges (#5933)
* [CSM] Add function to get player privileges + move related help functions to common
* Added @Zeno- const
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index fe5780fb1..2f0c2e3f8 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -89,8 +89,12 @@ private: // get_node_def(nodename) static int l_get_node_def(lua_State *L); + // take_screenshot() static int l_take_screenshot(lua_State *L); + // get_privilege_list() + static int l_get_privilege_list(lua_State *L); + public: static void Initialize(lua_State *L, int top); }; |