Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
l_rollback.h
Go to the documentation of this file.
1// Luanti
2// SPDX-License-Identifier: LGPL-2.1-or-later
3// Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>
4
5#pragma once
6
7#include "lua_api/l_base.h"
8
10{
11private:
12 // rollback_get_node_actions(pos, range, seconds) -> {{actor, pos, time, oldnode, newnode}, ...}
13 static int l_rollback_get_node_actions(lua_State *L);
14
15 // rollback_revert_actions_by(actor, seconds) -> bool, log messages
16 static int l_rollback_revert_actions_by(lua_State *L);
17
18public:
19 static void Initialize(lua_State *L, int top);
20};
Definition l_base.h:28
Definition l_rollback.h:10
static void Initialize(lua_State *L, int top)
Definition l_rollback.cpp:98
static int l_rollback_revert_actions_by(lua_State *L)
Definition l_rollback.cpp:67
static int l_rollback_get_node_actions(lua_State *L)
Definition l_rollback.cpp:24