diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-12 01:53:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-12 01:53:13 +0300 |
commit | 6991434831679362687727ed152b3b06b6e671b9 (patch) | |
tree | e3f10f25254bce57d9e0f70880dccb78fc1373cb /src/net/eathena/maphandler.cpp | |
parent | bb23068616794bb6e581f5f2dde8332c7049fe7a (diff) | |
download | ManaVerse-6991434831679362687727ed152b3b06b6e671b9.tar.gz ManaVerse-6991434831679362687727ed152b3b06b6e671b9.tar.bz2 ManaVerse-6991434831679362687727ed152b3b06b6e671b9.tar.xz ManaVerse-6991434831679362687727ed152b3b06b6e671b9.zip |
Add packet CMSG_CLIENT_VERSION 0x044a
Diffstat (limited to 'src/net/eathena/maphandler.cpp')
-rw-r--r-- | src/net/eathena/maphandler.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp index 7054949f2..075a94a38 100644 --- a/src/net/eathena/maphandler.cpp +++ b/src/net/eathena/maphandler.cpp @@ -66,4 +66,12 @@ void MapHandler::camera(int action, outMsg.writeFloat(latitude, "latitude"); } +void MapHandler::clientVersion(const int version) const +{ + if (packetVersion < 20090406) + return; + createOutPacket(CMSG_CLIENT_VERSION); + outMsg.writeInt32(version, "version"); +} + } // namespace EAthena |