mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-30 04:35:20 +01:00
Add get and set functions for the nametag color
This commit is contained in:
@@ -34,6 +34,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#define GENERIC_CMD_SET_BONE_POSITION 7
|
||||
#define GENERIC_CMD_SET_ATTACHMENT 8
|
||||
#define GENERIC_CMD_SET_PHYSICS_OVERRIDE 9
|
||||
#define GENERIC_CMD_SET_NAMETAG_COLOR 10
|
||||
|
||||
#include "object_properties.h"
|
||||
std::string gob_cmd_set_properties(const ObjectProperties &prop);
|
||||
@@ -72,5 +73,7 @@ std::string gob_cmd_update_bone_position(std::string bone, v3f position, v3f rot
|
||||
|
||||
std::string gob_cmd_update_attachment(int parent_id, std::string bone, v3f position, v3f rotation);
|
||||
|
||||
std::string gob_cmd_set_nametag_color(video::SColor color);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user