Freeciv-3.3: /fast/freeciv/nightly/main/server/scripting/api_server_notify.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
api_server_notify.h
Go to the documentation of this file.
1/*****************************************************************************
2 Freeciv - Copyright (C) 2005 - The Freeciv Project
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12*****************************************************************************/
13
14#ifndef FC__API_SERVER_NOTIFY_H
15#define FC__API_SERVER_NOTIFY_H
16
17/* common/scriptcore */
18#include "luascript_types.h"
19
20struct lua_State;
21
22void api_notify_embassies_msg(lua_State *L, Player *pplayer, Tile *ptile,
23 int event, const char *message);
24void api_notify_event_msg(lua_State *L, Player *pplayer, Tile *ptile,
25 int event, const char *message);
26void api_notify_research_msg(lua_State *L, Player *pplayer, bool include_plr,
27 int event, const char *message);
28void api_notify_research_embassies_msg(lua_State *L, Player *pplayer,
29 int event, const char *message);
30
31#endif /* API_SERVER_NOTIFY */
api_notify_event_msg
void api_notify_event_msg(lua_State *L, Player *pplayer, Tile *ptile, int event, const char *message)
Definition api_server_notify.c:45
api_notify_embassies_msg
void api_notify_embassies_msg(lua_State *L, Player *pplayer, Tile *ptile, int event, const char *message)
Definition api_server_notify.c:34
api_notify_research_embassies_msg
void api_notify_research_embassies_msg(lua_State *L, Player *pplayer, int event, const char *message)
Definition api_server_notify.c:73
api_notify_research_msg
void api_notify_research_msg(lua_State *L, Player *pplayer, bool include_plr, int event, const char *message)
Definition api_server_notify.c:56
incite_cost
char * incite_cost
Definition comments.c:74
event
enum event_type event
Definition events.c:81
luascript_types.h
message
Definition messagewin_common.h:29
player
Definition player.h:249
tile
Definition tile.h:50