mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Allow defining player's inventory form in Lua
This commit is contained in:
parent
02fb912a95
commit
16ad10e62f
10 changed files with 129 additions and 10 deletions
|
@ -58,6 +58,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
PROTOCOL_VERSION 11:
|
||||
TileDef in ContentFeatures
|
||||
Nodebox drawtype
|
||||
Added after a release: TOCLIENT_INVENTORY_FORMSPEC
|
||||
*/
|
||||
|
||||
#define PROTOCOL_VERSION 11
|
||||
|
@ -308,6 +309,13 @@ enum ToClientCommand
|
|||
u16 len
|
||||
u8[len] privilege
|
||||
*/
|
||||
|
||||
TOCLIENT_INVENTORY_FORMSPEC = 0x42,
|
||||
/*
|
||||
u16 command
|
||||
u32 len
|
||||
u8[len] formspec
|
||||
*/
|
||||
};
|
||||
|
||||
enum ToServerCommand
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue