diff options
author | Zughy <63455151+Zughy@users.noreply.github.com> | 2020-10-13 21:27:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-13 20:27:52 +0100 |
commit | 2341a4aff1242e978d6fad3772d4d4fb015c040d (patch) | |
tree | deace790c7c9739bda1b4578991e3dbb9ecffab3 /src/script/lua_api/l_object.h | |
parent | 521a04222a71325ef217d1214febf5591919e169 (diff) | |
download | minetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.tar.gz minetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.tar.bz2 minetest-2341a4aff1242e978d6fad3772d4d4fb015c040d.zip |
Add ObjectRef:get_children() (#10480)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r-- | src/script/lua_api/l_object.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h index ca03dfa2e..097a74cae 100644 --- a/src/script/lua_api/l_object.h +++ b/src/script/lua_api/l_object.h @@ -143,6 +143,9 @@ private: // get_attach(self) static int l_get_attach(lua_State *L); + // get_children(self) + static int l_get_children(lua_State *L); + // set_detach(self) static int l_set_detach(lua_State *L); |