aboutsummaryrefslogtreecommitdiff
path: root/src/util/pointer.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2020-11-10 21:46:30 +0100
committersfan5 <sfan5@live.de>2020-11-12 21:08:26 +0100
commitad58ece18062d4c545432b45d71ce6dbe841746b (patch)
tree81dedc57f3dfda06d91fa93f1b9da9120adadc28 /src/util/pointer.h
parent61bbdd6807f4c383b7300b4fd5931f5e09dc7205 (diff)
downloadminetest-ad58ece18062d4c545432b45d71ce6dbe841746b.tar.gz
minetest-ad58ece18062d4c545432b45d71ce6dbe841746b.tar.bz2
minetest-ad58ece18062d4c545432b45d71ce6dbe841746b.zip
serverpackethandler: Minor log message fixes
closes #10434
Diffstat (limited to 'src/util/pointer.h')
0 files changed, 0 insertions, 0 deletions
> 113 114
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without 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_SERVER_H_
#define L_SERVER_H_

#include "lua_api/l_base.h"

class ModApiServer : public ModApiBase
{
private:
	// request_shutdown([message], [reconnect])
	static int l_request_shutdown(lua_State *L);

	// get_server_status()
	static int l_get_server_status(lua_State *L);

	// get_server_uptime()
	static int l_get_server_uptime(lua_State *L);

	// get_worldpath()
	static int l_get_worldpath(lua_State *L);

	// is_singleplayer()
	static int l_is_singleplayer(lua_State *L);

	// get_current_modname()
	static int l_get_current_modname(lua_State *L);