Freeciv21
Develop your civilization from humble roots to a global empire
api_server_notify.cpp File Reference
#include "featured_text.h"
#include "research.h"
#include "luascript.h"
#include "notify.h"
#include "api_server_notify.h"
+ Include dependency graph for api_server_notify.cpp:

Go to the source code of this file.

Functions

void api_notify_embassies_msg (lua_State *L, Player *pplayer, Tile *ptile, int event, const char *message)
 Notify players which have embassies with pplayer with the given message. More...
 
void api_notify_event_msg (lua_State *L, Player *pplayer, Tile *ptile, int event, const char *message)
 Notify pplayer of a complex event. More...
 
void api_notify_research_msg (lua_State *L, Player *pplayer, bool include_plr, int event, const char *message)
 Notify players sharing research with the player. More...
 
void api_notify_research_embassies_msg (lua_State *L, Player *pplayer, int event, const char *message)
 Notify players sharing research with the player. More...
 

Function Documentation

◆ api_notify_embassies_msg()

void api_notify_embassies_msg ( lua_State *  L,
Player pplayer,
Tile ptile,
int  event,
const char *  message 
)

Notify players which have embassies with pplayer with the given message.

Definition at line 26 of file api_server_notify.cpp.

◆ api_notify_event_msg()

void api_notify_event_msg ( lua_State *  L,
Player pplayer,
Tile ptile,
int  event,
const char *  message 
)

Notify pplayer of a complex event.

Definition at line 38 of file api_server_notify.cpp.

◆ api_notify_research_embassies_msg()

void api_notify_research_embassies_msg ( lua_State *  L,
Player pplayer,
int  event,
const char *  message 
)

Notify players sharing research with the player.

Definition at line 66 of file api_server_notify.cpp.

◆ api_notify_research_msg()

void api_notify_research_msg ( lua_State *  L,
Player pplayer,
bool  include_plr,
int  event,
const char *  message 
)

Notify players sharing research with the player.

Definition at line 50 of file api_server_notify.cpp.