diff options
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 |