mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-30 18:05:29 +01:00
Add get and set functions for the nametag color
This commit is contained in:
@@ -197,6 +197,8 @@ public:
|
||||
void setAttachment(int parent_id, std::string bone, v3f position, v3f rotation);
|
||||
ObjectProperties* accessObjectProperties();
|
||||
void notifyObjectPropertiesModified();
|
||||
void setNametagColor(video::SColor color);
|
||||
video::SColor getNametagColor();
|
||||
|
||||
/*
|
||||
Inventory interface
|
||||
@@ -313,6 +315,9 @@ private:
|
||||
v3f m_attachment_rotation;
|
||||
bool m_attachment_sent;
|
||||
|
||||
video::SColor m_nametag_color;
|
||||
bool m_nametag_sent;
|
||||
|
||||
public:
|
||||
float m_physics_override_speed;
|
||||
float m_physics_override_jump;
|
||||
|
||||
Reference in New Issue
Block a user