From c2402dcae7a8b30c1db02a9bcc92839cfe30bd0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 2 Sep 2014 22:20:27 +0300 Subject: eathena: remove some unused packets. --- src/net/eathena/gamehandler.cpp | 1 - src/net/eathena/loginhandler.cpp | 7 ------- src/net/eathena/loginhandler.h | 2 -- 3 files changed, 10 deletions(-) diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 1cb6ef40b..07e4dd7c6 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -169,7 +169,6 @@ void GameHandler::ping(const int tick) const void GameHandler::disconnect2() const { - MessageOut outMsg(CMSG_CLIENT_DISCONNECT); } void GameHandler::processMapAccountId(Net::MessageIn &msg) diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index d031a9f13..2c641bace 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -157,13 +157,6 @@ ServerInfo *LoginHandler::getCharServer() const return &charServer; } -void LoginHandler::requestUpdateHosts() -{ - MessageOut outMsg(CMSG_SEND_CLIENT_INFO); - outMsg.writeInt8(CLIENT_PROTOCOL_VERSION); - outMsg.writeInt8(0, "unused"); -} - void LoginHandler::processUpdateHost2(Net::MessageIn &msg) const { const int len = msg.readInt16("len") - 4; diff --git a/src/net/eathena/loginhandler.h b/src/net/eathena/loginhandler.h index 04af33b9a..b30de728c 100644 --- a/src/net/eathena/loginhandler.h +++ b/src/net/eathena/loginhandler.h @@ -62,8 +62,6 @@ class LoginHandler final : public MessageHandler, public Ea::LoginHandler ServerInfo *getCharServer() const override final A_WARN_UNUSED; - static void requestUpdateHosts(); - void processUpdateHost2(Net::MessageIn &msg) const; void processLoginError2(Net::MessageIn &msg) const; -- cgit v1.2.3-70-g09d2