ofs | hex dump | ascii |
---|
0000 | 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 01 00 00 00 01 00 08 06 00 00 00 5c 72 a8 | .PNG........IHDR.............\r. |
0020 | 66 00 00 24 b4 49 44 41 54 78 5e ec 9d 79 94 14 45 b6 c6 b3 1a 54 04 d1 91 01 64 19 71 46 1d 45 | f..$.IDATx^..y..E....T....d.qF.E |
0040 | 40 54 36 47 d0 41 c7 15 f5 b1 29 0a 08 03 0a f8 10 14 d9 17 d9 37 15 b0 91 45 94 45 45 44 64 91 | @T6G.A....)..........7...E.EEDd. |
0060 | 1d 05 54 46 c5 51 90 55 67 94 75 44 40 65 69 c0 91 4d 14 85 ae 77 ff f8 9d 77 e2 c4 89 ac ec cc | ..TF.Q.Ug.uD@ei..M...w...w...... |
0080 | ac aa ce 6a e2 3b e7 3b b9 f4 ed a8 cc 8a 88 1b 37 a2 ee bd 11 8b c7 9d b8 13 73 1c 27 1e 8f 39 | ...j.;.;........7.........s.'..9 |
00a0 | ae 88 c5 1d 87 bf 67 b0 8c 95 b1 32 56 46 2f 55 34 80 2f 58 74 16 36 14 de 6c 10 f8 48 b8 50 38 | ......g....2VF/U4./Xt.6..l..H.P8 |
00c0 | c6 c9 00 58 58 64 39 f9 87 77 84 0f 08 4b 08 8f 0b 0b 67 c8 f7 d5 49 38 c8 24 c0 fd 27 90 2b 90 | ...XXd9..w...K....g...I8.$..'.+. |
00e0 | b0 b0 0a 20 ee f9 77 6f b9 98 f0 06 e1 a7 c2 da c2 75 c2 53 6e e5 19 9e b3 2e ff b3 5b 78 97 93 | ......wo.........u.Sn.......[x.. |
0100 | 18 f7 0a 57 53 7e 3c d0 7b 01 46 fe 6f 19 e9 75 38 dc ff 4e d8 20 f0 f7 18 7d d4 a6 de 74 34 15 | ...WS~<.{.F.o..u8..N.....}...t4. |
0120 | 7e 21 3c 26 fc 5c d8 c4 fc ce d0 8c 1b 85 f3 84 df 0b 7f 12 6e 16 0e 10 16 51 64 6a 09 5f a7 1e | ~!<&.\..............n....Qdj._.. |
0140 | 8e 0b 37 09 fb 23 63 c2 25 c2 1c c3 67 c6 5d a8 e3 22 e1 44 e1 26 3e 6f 3d ed c0 ab 9c ff 2a 32 | ..7..#c.%...g.]..".D.&>o=.....*2 |
0160 | a5 84 93 68 1b bf 70 9c c4 7d e0 9c 27 7c 5e b8 9b cf d9 28 7c a8 a0 5a 00 95 68 28 7b 84 75 84 | ...h..p..}..'|^....(|..Z..h({.u. |
0180 | ab 34 81 4b 85 a3 85 db b9 de 2d 9c 2e fc 0b d7 d9 c2 81 c2 8e c2 c9 4e 62 8c 17 0e 11 9e 83 e2 | .4.K......-............Nb....... |
01a0 | 09 0c 3a f6 1c 0f 99 b7 68 20 26 cc e4 99 cf 12 3a 1c 1f e7 7e a6 28 88 1e c2 e7 34 81 7a c2 91 | ..:.....h.&.....:...~.(....4.z.. |
01c0 | c2 27 85 e5 8/*
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()
static int l_request_shutdown(lua_State *L);
// get_server_status()
static int l_get_server_status(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);
// get_modpath(modname)
static int l_get_modpath(lua_State *L);
// get_modnames()
// the returned list is sorted alphabetically for you
static int l_get_modnames(lua_State *L);
// chat_send_all(text)
static int l_chat_send_all(lua_State *L);
// chat_send_player(name, text)
static int l_chat_send_player(lua_State *L);
// show_formspec(playername,formname,formspec)
static int l_show_formspec(lua_State *L);
// sound_play(spec, parameters)
static int l_sound_play(lua_State *L);
// sound_stop(handle)
static int l_sound_stop(lua_State *L);
// get_player_privs(name, text)
static int l_get_player_privs(lua_State *L);
// get_player_ip()
static int l_get_player_ip(lua_State *L);
// get_player_information()
static int l_get_player_information(lua_State *L);
// get_ban_list()
static int l_get_ban_list(lua_State *L);
// get_ban_description()
static int l_get_ban_description(lua_State *L);
// ban_player()
static int l_ban_player(lua_State *L);
// unban_player_or_ip()
static int l_unban_player_or_ip(lua_State *L);
// kick_player(name, [message]) -> success
static int l_kick_player(lua_State *L);
// notify_authentication_modified(name)
static int l_notify_authentication_modified(lua_State *L);
#ifndef NDEBUG
// cause_error(type_of_error)
static int l_cause_error(lua_State *L);
#endif
public:
static void Initialize(lua_State *L, int top);
};
#endif /* L_SERVER_H_ */
|