summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorTeTpaAka <TeTpaAka@users.noreply.github.com>2015-05-14 15:54:54 +0200
committerest31 <MTest31@outlook.com>2015-05-15 11:03:27 +0200
commit86a963caca9604ad57904e9acd9bef7c46ca47d8 (patch)
treeebe637727aeb7479c3cd327fba5dbc7dce0c9b5c /src/script/lua_api/l_object.h
parent99cf53c9087671d0a2130d2272b9a4f61d680517 (diff)
downloadminetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.tar.gz
minetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.tar.bz2
minetest-86a963caca9604ad57904e9acd9bef7c46ca47d8.zip
Add get and set functions for the nametag color
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index daf91ce56..1f2931f29 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -240,6 +240,12 @@ private:
// set_eye_offset(self, v3f first pv, v3f third pv)
static int l_set_eye_offset(lua_State *L);
+ // set_nametag_color(self, color)
+ static int l_set_nametag_color(lua_State *L);
+
+ // get_nametag_color(self)
+ static int l_get_nametag_color(lua_State *L);
+
public:
ObjectRef(ServerActiveObject *object);