From 4cc98d7add7b697ac302a6136bbeb95ef78cec45 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 22 Jul 2012 17:10:58 +0300 Subject: minetest.register_on_player_receive_fields() --- src/scriptapi.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/scriptapi.h') diff --git a/src/scriptapi.h b/src/scriptapi.h index 12a1172a7..2fe662ddc 100644 --- a/src/scriptapi.h +++ b/src/scriptapi.h @@ -69,6 +69,12 @@ void scriptapi_create_auth(lua_State *L, const std::string &playername, bool scriptapi_set_password(lua_State *L, const std::string &playername, const std::string &password); +/* player */ +void scriptapi_on_player_receive_fields(lua_State *L, + ServerActiveObject *player, + const std::string &formname, + const std::map &fields); + /* item callbacks */ bool scriptapi_item_on_drop(lua_State *L, ItemStack &item, ServerActiveObject *dropper, v3f pos); -- cgit v1.2.3