void api_notify_event_msg(lua_State *L, Player *pplayer, Tile *ptile, int event, const char *message)
Notify pplayer of a complex event.
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.
void api_notify_research_embassies_msg(lua_State *L, Player *pplayer, int event, const char *message)
Notify players sharing research with the player.
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.
const struct ft_color ftc_any
#define LUASCRIPT_CHECK_STATE(L,...)
void notify_research(const struct research *presearch, const struct player *exclude, enum event_type event, const struct ft_color color, const char *format,...)
Sends a message to all players that share research.
void notify_player(const struct player *pplayer, const struct tile *ptile, enum event_type event, const struct ft_color color, const char *format,...)
Similar to notify_conn_packet (see also), but takes player as "destination".
void notify_research_embassies(const struct research *presearch, const struct player *exclude, enum event_type event, const struct ft_color color, const char *format,...)
Sends a message to all players that have embassies with someone who shares research.
void notify_embassies(const struct player *pplayer, const struct tile *ptile, enum event_type event, const struct ft_color color, const char *format,...)
Send message to all players who have an embassy with pplayer, but excluding pplayer and specified pla...
struct research * research_get(const struct player *pplayer)
Returns the research structure associated with the player.