mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Formspecs: Introduce formspec_version to mods
This commit is contained in:
parent
b0baa698a4
commit
9acd36bf99
11 changed files with 54 additions and 10 deletions
|
@ -130,6 +130,9 @@ public:
|
|||
|
||||
u16 protocol_version = 0;
|
||||
|
||||
// v1 for clients older than 5.1.0-dev
|
||||
u16 formspec_version = 1;
|
||||
|
||||
session_t getPeerId() const { return m_peer_id; }
|
||||
|
||||
void setPeerId(session_t peer_id) { m_peer_id = peer_id; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue