diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-08 16:51:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-08 16:51:28 +0000 |
commit | 6cd1a38f1d3a0a45846d63a75475400372af1277 (patch) | |
tree | 35bc79e34fe727fc387103a183f80b203c6dfa12 /src/core/netclient.h | |
parent | 731dfb8f3ca9c34e4160021cb221c3056c00dbf9 (diff) |
moved message functions into Player class
Diffstat (limited to 'src/core/netclient.h')
-rw-r--r-- | src/core/netclient.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/core/netclient.h b/src/core/netclient.h index 879a801..6e5bcf9 100644 --- a/src/core/netclient.h +++ b/src/core/netclient.h @@ -29,7 +29,12 @@ #include <deque> #include <map> -#include "core/player.h" +namespace core +{ +class NetClient; +} + +#include "core/netplayer.h" namespace core { @@ -82,8 +87,9 @@ private: struct sockaddr_in client_addr; std::string client_host; int client_port; - Player client_player; bool client_error; + + NetPlayer *client_player; std::string messageblock; std::deque<std::string> recvq; |