From 37df9cb7d764891f29b433e80a0d5663fee1a94f Mon Sep 17 00:00:00 2001 From: red-001 Date: Mon, 30 Jan 2017 19:10:37 +0000 Subject: [CSM] Add `get_node` and `get_node_or_nil` --- src/script/lua_api/l_client.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/script/lua_api/l_client.h') 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); }; -- cgit v1.2.3