diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-02-18 20:20:22 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2021-02-18 20:20:22 +0100 |
commit | 16696823242ca3b82d932542899e77894238fa2c (patch) | |
tree | 614e49e96f320e79b0b995d63b34291cc1c285e6 /src/script/lua_api/l_client.h | |
parent | e391ee435f3e82c8251bb8797c5e9b76e7ac9f72 (diff) | |
download | dragonfireclient-16696823242ca3b82d932542899e77894238fa2c.tar.xz |
Port formspec API from waspsaliva
This API is inofficial and undocumented; invalid usage causes the game to crash. Use at own risk!
Diffstat (limited to 'src/script/lua_api/l_client.h')
-rw-r--r-- | src/script/lua_api/l_client.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/lua_api/l_client.h b/src/script/lua_api/l_client.h index 03a42e022..caf21f78e 100644 --- a/src/script/lua_api/l_client.h +++ b/src/script/lua_api/l_client.h @@ -132,6 +132,12 @@ private: // interact(action, pointed_thing) static int l_interact(lua_State *L); + // send_inventory_fields(formname, fields) + static int l_send_inventory_fields(lua_State *L); + + // send_nodemeta_fields(position, formname, fields) + static int l_send_nodemeta_fields(lua_State *L); + public: static void Initialize(lua_State *L, int top); }; |