From a39ca8e69e759daca60bd7f6cb2d5cb827d98893 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Mar 2015 01:28:21 +0300 Subject: eathena: add packet CMSG_LOGIN_PING 0x0200. --- src/net/eathena/loginhandler.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/net/eathena/loginhandler.cpp') 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 -- cgit v1.2.3-60-g2f50