diff options
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r-- | src/core/netserver.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h index 8877707..647368e 100644 --- a/src/core/netserver.h +++ b/src/core/netserver.h @@ -58,12 +58,6 @@ public: /// receive data from clients void receive(); - /// broadcast a message - void broadcast_message(const char *channel, std::string const & message, Player *ignore_player=0); - - /// send a message to a client - void send_message(NetClient *client, const char *channel, std::string const & message); - /// disconnect a client void send_disconnect(NetClient *client); @@ -71,6 +65,9 @@ public: NetClient *find_client(Player const *player); protected: + /// send a message + void send_message(NetClient *client, const char *channel, std::string const & message); + /// send a server frame marker void send_frame_marker(NetClient *client, unsigned long timestamp); |