diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-22 01:28:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-22 01:28:21 +0300 |
commit | a39ca8e69e759daca60bd7f6cb2d5cb827d98893 (patch) | |
tree | b149b952dbbbe98f89387cde088676d5d984ea2c /src/net/eathena/loginhandler.cpp | |
parent | fbbf0771c39c27473e9b1b579aef68ab706fde50 (diff) | |
download | manaverse-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.gz manaverse-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.bz2 manaverse-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.xz manaverse-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.zip |
eathena: add packet CMSG_LOGIN_PING 0x0200.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r-- | src/net/eathena/loginhandler.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/loginhandler.cpp b/src/net/eathena/loginhandler.cpp index fe10fc335..35797b21a 100644 --- a/src/net/eathena/loginhandler.cpp +++ b/src/net/eathena/loginhandler.cpp @@ -284,4 +284,15 @@ int LoginHandler::supportedOptionalActions() const : Net::RegistrationOptions::SetGenderOnRegister; } +void LoginHandler::ping() const +{ + createOutPacket(CMSG_LOGIN_PING); + outMsg.writeInt32(0, "unused"); + outMsg.writeInt32(0, "unused"); + outMsg.writeInt32(0, "unused"); + outMsg.writeInt32(0, "unused"); + outMsg.writeInt32(0, "unused"); + outMsg.writeInt32(0, "unused"); +} + } // namespace EAthena |