diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-05-23 05:35:13 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-05-23 05:35:13 +0000 |
commit | 351f050dd77c7dfae7ab901b9dab08336e59b4fc (patch) | |
tree | 709142480b61e116eca5ac17685e29b6fe658e5a /src/netcomputer.h | |
parent | 71ef3ccdc4d628e93d445251121f36a35c6f6a4e (diff) | |
download | manaserv-351f050dd77c7dfae7ab901b9dab08336e59b4fc.tar.gz manaserv-351f050dd77c7dfae7ab901b9dab08336e59b4fc.tar.bz2 manaserv-351f050dd77c7dfae7ab901b9dab08336e59b4fc.tar.xz manaserv-351f050dd77c7dfae7ab901b9dab08336e59b4fc.zip |
Split server into three logical servers: an account server, a chat
server, and a game server.
Diffstat (limited to 'src/netcomputer.h')
-rw-r--r-- | src/netcomputer.h | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/netcomputer.h b/src/netcomputer.h index 7aaa78ea..6f68ef2c 100644 --- a/src/netcomputer.h +++ b/src/netcomputer.h @@ -89,65 +89,4 @@ class NetComputer ENetPeer *peer; /**< Client peer */ }; -/** - * Temporary placeholder until the connection handlers have been split. - */ -class ClientComputer: public NetComputer -{ - public: - /** - * Constructor - */ - ClientComputer(ClientConnectionHandler *handler, ENetPeer *peer); - - /** - * Destructor - */ - ~ClientComputer(); - - /** - * Set the account associated with the connection - */ - void - setAccount(tmwserv::AccountPtr acc); - - /** - * Unset the account associated with the connection - */ - void - unsetAccount(); - - /** - * Get account associated with the connection - */ - tmwserv::AccountPtr - getAccount() { return mAccountPtr; } - - /** - * Set the selected character associated with connection - */ - void - setCharacter(tmwserv::BeingPtr ch); - - /** - * Deselect the character associated with connection - * and remove it from the world - */ - void - unsetCharacter(); - - /** - * Get character associated with the connection - */ - tmwserv::BeingPtr - getCharacter() { return mCharacterPtr; } - - private: - /** Account associated with connection */ - tmwserv::AccountPtr mAccountPtr; - - /** Selected character */ - tmwserv::BeingPtr mCharacterPtr; -}; - #endif |