diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 18:59:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 18:59:41 +0300 |
commit | 1cf6cb343c6c8df8a998c617fd6f8d40f5affbea (patch) | |
tree | d5e090e99c02a0ce70d00c4dc527d777881cd83c /src/net/tmwa | |
parent | f20c99d2bffe798806790e1f1ae838bba494d93c (diff) | |
download | ManaVerse-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.gz ManaVerse-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.bz2 ManaVerse-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.tar.xz ManaVerse-1cf6cb343c6c8df8a998c617fd6f8d40f5affbea.zip |
Add support for packet version in servers list xml and in editor.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/loginhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/tmwa/loginhandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/loginrecv.cpp | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/src/net/tmwa/loginhandler.cpp b/src/net/tmwa/loginhandler.cpp index d48c5123f..c2e6d462c 100644 --- a/src/net/tmwa/loginhandler.cpp +++ b/src/net/tmwa/loginhandler.cpp @@ -122,4 +122,8 @@ void LoginHandler::ping() const { } +void LoginHandler::updatePacketVersion() const +{ +} + } // namespace TmwAthena diff --git a/src/net/tmwa/loginhandler.h b/src/net/tmwa/loginhandler.h index 536dfdaaa..d94402741 100644 --- a/src/net/tmwa/loginhandler.h +++ b/src/net/tmwa/loginhandler.h @@ -56,6 +56,8 @@ class LoginHandler final : public Ea::LoginHandler void ping() const override final A_CONST; + void updatePacketVersion() const override final A_CONST; + static void requestUpdateHosts() A_CONST; private: diff --git a/src/net/tmwa/loginrecv.cpp b/src/net/tmwa/loginrecv.cpp index 40b7a2aba..8e8d3a0a2 100644 --- a/src/net/tmwa/loginrecv.cpp +++ b/src/net/tmwa/loginrecv.cpp @@ -79,7 +79,6 @@ void LoginRecv::processServerVersion(Net::MessageIn &msg) logger->log("Tmw server version: x%06x", tmwServerVersion); else logger->log("Server without version"); - updateProtocol(); if (client->getState() != State::LOGIN) |