mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
[CSM] Add function to get player privileges (#5933)
* [CSM] Add function to get player privileges + move related help functions to common * Added @Zeno- const
This commit is contained in:
parent
6c55874417
commit
c91a8c7061
7 changed files with 56 additions and 25 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue