diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-06-01 20:51:15 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-06-03 22:31:01 +0300 |
commit | d7447cdf9e4df3c345218886ab2bae0e0cc4fc55 (patch) | |
tree | 4ebc1c2fd91d66f8711ed87013af80a4adf53cc0 /src/scriptapi.h | |
parent | ff8d2bbc3682b12d40d1dfb212d39a50c498fb93 (diff) | |
download | minetest-d7447cdf9e4df3c345218886ab2bae0e0cc4fc55.tar.xz |
Implement sign using form field protocol
Diffstat (limited to 'src/scriptapi.h')
-rw-r--r-- | src/scriptapi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scriptapi.h b/src/scriptapi.h index cd6a5614c..e6c16eba6 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> #include "mapnode.h" #include <set> +#include <map> class Server; class ServerEnvironment; @@ -83,6 +84,10 @@ bool scriptapi_node_on_dig(lua_State *L, v3s16 p, MapNode node, ServerActiveObject *digger); void scriptapi_node_on_construct(lua_State *L, v3s16 p, MapNode node); void scriptapi_node_on_destruct(lua_State *L, v3s16 p, MapNode node); +void scriptapi_node_on_receive_fields(lua_State *L, v3s16 p, + const std::string &formname, + const std::map<std::string, std::string> &fields, + ServerActiveObject *sender); /* luaentity */ // Returns true if succesfully added into Lua; false otherwise. |