diff options
author | Andrew Ward <rw@rubenwardy.com> | 2018-03-28 16:04:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 16:04:41 +0100 |
commit | 2323842dd3dd336b087ca3cf9756e0680b3a1244 (patch) | |
tree | 6b76f139e42872c8457c991925a5a2e6d41b85c9 /src/server.h | |
parent | 040b878cd5f77f6b44622b7c00255b4981500dc8 (diff) | |
download | minetest-2323842dd3dd336b087ca3cf9756e0680b3a1244.tar.gz minetest-2323842dd3dd336b087ca3cf9756e0680b3a1244.tar.bz2 minetest-2323842dd3dd336b087ca3cf9756e0680b3a1244.zip |
Add formspec theming using prepended strings
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.h b/src/server.h index b0f65980d..0820753e0 100644 --- a/src/server.h +++ b/src/server.h @@ -216,6 +216,7 @@ public: bool checkPriv(const std::string &name, const std::string &priv); void reportPrivsModified(const std::string &name=""); // ""=all void reportInventoryFormspecModified(const std::string &name); + void reportFormspecPrependModified(const std::string &name); void setIpBanned(const std::string &ip, const std::string &name); void unsetIpBanned(const std::string &ip_or_name); @@ -376,6 +377,7 @@ private: void SendEyeOffset(session_t peer_id, v3f first, v3f third); void SendPlayerPrivileges(session_t peer_id); void SendPlayerInventoryFormspec(session_t peer_id); + void SendPlayerFormspecPrepend(session_t peer_id); void SendShowFormspecMessage(session_t peer_id, const std::string &formspec, const std::string &formname); void SendHUDAdd(session_t peer_id, u32 id, HudElement *form); |