aboutsummaryrefslogtreecommitdiff
path: root/games/devtest
diff options
context:
space:
mode:
authorAllan Nordhøy <epost@anotheragency.no>2020-06-17 08:21:44 +0000
committersfan5 <sfan5@live.de>2020-07-08 22:51:17 +0200
commitecc66ccf40f6d738a88608e07cf09a44deedd9c2 (patch)
treecf357d4b0383ca9d2d29ce67ed1804cffa86f0a0 /games/devtest
parent6e12846ad86b2361e5829eeed6da5cff7fb5162c (diff)
Translated using Weblate (Norwegian Bokmål)
Currently translated at 56.8% (768 of 1350 strings)
Diffstat (limited to 'games/devtest')
0 files changed, 0 insertions, 0 deletions
out even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef L_NODETIMER_H_ #define L_NODETIMER_H_ #include "irr_v3d.h" #include "lua_api/l_base.h" class ServerEnvironment; class NodeTimerRef : public ModApiBase { private: v3s16 m_p; ServerEnvironment *m_env; static const char className[]; static const luaL_Reg methods[]; static int gc_object(lua_State *L); static NodeTimerRef *checkobject(lua_State *L, int narg); static int l_set(lua_State *L); static int l_start(lua_State *L); static int l_stop(lua_State *L); static int l_is_started(lua_State *L); static int l_get_timeout(lua_State *L); static int l_get_elapsed(lua_State *L); public: NodeTimerRef(v3s16 p, ServerEnvironment *env); ~NodeTimerRef(); // Creates an NodeTimerRef and leaves it on top of stack // Not callable from Lua; all references are created on the C side. static void create(lua_State *L, v3s16 p, ServerEnvironment *env); static void set_null(lua_State *L); static void Register(lua_State *L); }; #endif /* L_NODETIMER_H_ */