aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_rollback.h
diff options
context:
space:
mode:
authorShadowNinja <shadowninja@minetest.net>2013-11-12 16:13:00 -0500
committerShadowNinja <shadowninja@minetest.net>2013-11-27 18:13:06 -0500
commit7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0 (patch)
tree61b6fa4fcd8b5b00b84e5464afde07d122d4f7ca /src/script/lua_api/l_rollback.h
parent1fd9a11e302566d207c046bd5145e4e05a3c58ea (diff)
downloadminetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.tar.gz
minetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.tar.bz2
minetest-7433d65d3e383cd3d2f5ced38d9109e9fd7c72c0.zip
Rollback fixes and get_node_actions
Diffstat (limited to 'src/script/lua_api/l_rollback.h')
-rw-r--r--src/script/lua_api/l_rollback.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/script/lua_api/l_rollback.h b/src/script/lua_api/l_rollback.h
index 86992a47e..3b01c0d8b 100644
--- a/src/script/lua_api/l_rollback.h
+++ b/src/script/lua_api/l_rollback.h
@@ -22,10 +22,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_base.h"
-class ModApiRollback : public ModApiBase {
+class ModApiRollback : public ModApiBase
+{
private:
- // rollback_get_last_node_actor(p, range, seconds) -> actor, p, seconds
- static int l_rollback_get_last_node_actor(lua_State *L);
+ // rollback_get_node_actions(pos, range, seconds) -> {{actor, pos, time, oldnode, newnode}, ...}
+ static int l_rollback_get_node_actions(lua_State *L);
// rollback_revert_actions_by(actor, seconds) -> bool, log messages
static int l_rollback_revert_actions_by(lua_State *L);