aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2020-10-13 21:27:52 +0200
committerGitHub <noreply@github.com>2020-10-13 20:27:52 +0100
commit2341a4aff1242e978d6fad3772d4d4fb015c040d (patch)
treedeace790c7c9739bda1b4578991e3dbb9ecffab3 /src/script/lua_api/l_object.h
parent521a04222a71325ef217d1214febf5591919e169 (diff)
downloadhax-minetest-server-2341a4aff1242e978d6fad3772d4d4fb015c040d.tar.gz
hax-minetest-server-2341a4aff1242e978d6fad3772d4d4fb015c040d.zip
Add ObjectRef:get_children() (#10480)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
Diffstat (limited to '')
-rw-r--r--src/script/lua_api/l_object.h3
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);