Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/netserver.h')
-rw-r--r--src/core/netserver.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/netserver.h b/src/core/netserver.h
index 4d1eb73..ab4976d 100644
--- a/src/core/netserver.h
+++ b/src/core/netserver.h
@@ -37,6 +37,9 @@ public:
/// send a message to a client
void send(NetClient * client, std::string message);
+ /// find the client corresponding to a player
+ NetClient *find_client(Player const &player);
+
protected:
/// called by accept() when a new client connects
virtual void client_connect(int const clientfd, std::string const host, int const port);