mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 23:31:41 +00:00
committed files that were meant to be committed before...
...but I missed them because I'm stupid. :(
This commit is contained in:
parent
432a9c2d0c
commit
0d984bf38e
@ -1214,11 +1214,11 @@ void game::send_and_record_server_message(const char* message,
|
|||||||
record_data(doc);
|
record_data(doc);
|
||||||
}
|
}
|
||||||
|
|
||||||
void game::send_server_message_to_all(const char* message) const
|
void game::send_server_message_to_all(const char* message, network::connection exclude) const
|
||||||
{
|
{
|
||||||
simple_wml::document doc;
|
simple_wml::document doc;
|
||||||
send_server_message(message, 0, &doc);
|
send_server_message(message, 0, &doc);
|
||||||
send_data(doc);
|
send_data(doc, exclude);
|
||||||
}
|
}
|
||||||
|
|
||||||
void game::send_server_message(const char* message, network::connection sock, simple_wml::document* docptr) const
|
void game::send_server_message(const char* message, network::connection sock, simple_wml::document* docptr) const
|
||||||
|
@ -87,7 +87,7 @@ public:
|
|||||||
//! Returns true iff the number of slots has changed.
|
//! Returns true iff the number of slots has changed.
|
||||||
bool describe_slots();
|
bool describe_slots();
|
||||||
|
|
||||||
void send_server_message_to_all(const char* message) const;
|
void send_server_message_to_all(const char* message, network::connection exclude=0) const;
|
||||||
void send_server_message(const char* message, network::connection sock=0, simple_wml::document* doc=NULL) const;
|
void send_server_message(const char* message, network::connection sock=0, simple_wml::document* doc=NULL) const;
|
||||||
//! Send data to all players in this game except 'exclude'.
|
//! Send data to all players in this game except 'exclude'.
|
||||||
void send_and_record_server_message(const char* message,
|
void send_and_record_server_message(const char* message,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user