Debian Codegraph @

src/bnetd/luafunctions.h

raw symbols SCIP
1 /*
2 * Copyright (C) 2014 HarpyWar ([email protected])
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18 /*****/
19 #ifdef WITH_LUA
20 #ifndef JUST_NEED_TYPES
21 #ifndef INCLUDED_LUAFUNCTION_PROTOS
22 #define INCLUDED_LUAFUNCTION_PROTOS
23
24 #define JUST_NEED_TYPES
25 #include "luawrapper.h"
26 #undef JUST_NEED_TYPES
27
28 namespace pvpgn
29 {
30
31 namespace bnetd
32 {
33
34 extern int __message_send_text(lua_State* L);
35 extern int __eventlog(lua_State* L);
36
37 extern int __account_get_by_name(lua_State* L);
38 extern int __account_get_by_id(lua_State* L);
39 extern int __account_get_attr(lua_State* L);
40 extern int __account_set_attr(lua_State* L);
41 extern int __account_get_friends(lua_State* L);
42 extern int __account_get_teams(lua_State* L);
43
44 extern int __clan_get_members(lua_State* L);
45
46 extern int __game_get_by_id(lua_State* L);
47 extern int __game_get_by_name(lua_State* L);
48
49 extern int __channel_get_by_id(lua_State* L);
50
51 extern int __server_get_users(lua_State* L);
52 extern int __server_get_games(lua_State* L);
53 extern int __server_get_channels(lua_State* L);
54
55 extern int __client_kill(lua_State* L);
56 extern int __client_readmemory(lua_State* L);
57 extern int __client_requiredwork(lua_State* L);
58
59 extern int __command_get_group(lua_State* L);
60 extern int __icon_get_rank(lua_State* L);
61 extern int __describe_command(lua_State* L);
62 extern int __messagebox_show(lua_State* L);
63
64 extern int __localize(lua_State* L);
65 }
66
67 }
68
69 #endif
70 #endif
71 #endif