Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
committerStijn Buys <ingar@osirion.org>2011-07-09 14:11:44 +0000
commite942db1c8d87b7db286545d72c604e879f7aeab0 (patch)
tree4b07ef3422ee265156e020707c3bc96ecd9ed1e0 /src/core/netserver.h
parentf39aec30f0e5c6f466681ed34bffd41150976ab9 (diff)
Cleanup of the messaging interface.
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r--src/core/netserver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h
index d8635e4..a739e28 100644
--- a/src/core/netserver.h
+++ b/src/core/netserver.h
@@ -70,9 +70,10 @@ public:
/// find the client corresponding to a player
NetClient *find_client(Player const *player);
+ /// send a message on a specified channel
+ void send_message(NetClient *client, const Message::Channel channel, const std::string & message);
+
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);