mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add formspec theming using prepended strings
This commit is contained in:
parent
040b878cd5
commit
2323842dd3
16 changed files with 150 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue