1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

[CSM] Add get_node and get_node_or_nil

This commit is contained in:
red-001 2017-01-30 19:10:37 +00:00 committed by Loïc Blot
parent 073f5cf03d
commit 37df9cb7d7
6 changed files with 67 additions and 2 deletions

View file

@ -47,6 +47,14 @@ private:
// set_last_run_mod(modname)
static int l_set_last_run_mod(lua_State *L);
// get_node(pos)
static int l_get_node(lua_State *L);
// get_node_or_nil(pos)
static int l_get_node_or_nil(lua_State *L);
public:
static void Initialize(lua_State *L, int top);
};