summaryrefslogtreecommitdiff
path: root/src/net/tmwa/loginhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/loginhandler.cpp')
-rw-r--r--src/net/tmwa/loginhandler.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp
index 177984d72..de9196814 100644
--- a/src/net/tmwa/loginhandler.cpp
+++ b/src/net/tmwa/loginhandler.cpp
@@ -43,19 +43,8 @@ namespace TmwAthena
extern ServerInfo charServer;
LoginHandler::LoginHandler() :
- MessageHandler(),
Ea::LoginHandler()
{
- static const uint16_t _messages[] =
- {
- SMSG_UPDATE_HOST,
- SMSG_LOGIN_DATA,
- SMSG_LOGIN_ERROR,
- SMSG_CHAR_PASSWORD_RESPONSE,
- SMSG_SERVER_VERSION_RESPONSE,
- 0
- };
- handledMessages = _messages;
loginHandler = this;
}
@@ -63,37 +52,6 @@ LoginHandler::~LoginHandler()
{
}
-void LoginHandler::handleMessage(Net::MessageIn &msg)
-{
- BLOCK_START("LoginHandler::handleMessage")
- switch (msg.getId())
- {
- case SMSG_CHAR_PASSWORD_RESPONSE:
- LoginRecv::processCharPasswordResponse(msg);
- break;
-
- case SMSG_UPDATE_HOST:
- Ea::LoginRecv::processUpdateHost(msg);
- break;
-
- case SMSG_LOGIN_DATA:
- Ea::LoginRecv::processLoginData(msg);
- break;
-
- case SMSG_LOGIN_ERROR:
- Ea::LoginRecv::processLoginError(msg);
- break;
-
- case SMSG_SERVER_VERSION_RESPONSE:
- LoginRecv::processServerVersion(msg);
- break;
-
- default:
- break;
- }
- BLOCK_END("LoginHandler::handleMessage")
-}
-
void LoginHandler::connect()
{
if (!Network::mInstance)