diff options
author | red-001 <red-001@outlook.ie> | 2017-01-30 19:10:37 +0000 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-03-13 23:56:05 +0100 |
commit | 37df9cb7d764891f29b433e80a0d5663fee1a94f (patch) | |
tree | efed423ad2021439267eb5e1e8719fb8514ea6d7 /src/script/lua_api/l_client.h | |
parent | 073f5cf03d95ce1cdf04ce8a0adcaf1fc571d95f (diff) | |
download | minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.tar.gz minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.tar.bz2 minetest-37df9cb7d764891f29b433e80a0d5663fee1a94f.zip |
[CSM] Add `get_node` and `get_node_or_nil`
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 8 |
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 d0e230630..207a5bca0 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -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); }; |