summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 01:28:21 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-22 01:28:21 +0300
commita39ca8e69e759daca60bd7f6cb2d5cb827d98893 (patch)
treeb149b952dbbbe98f89387cde088676d5d984ea2c /src/net/eathena/loginhandler.cpp
parentfbbf0771c39c27473e9b1b579aef68ab706fde50 (diff)
downloadmv-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.gz
mv-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.bz2
mv-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.tar.xz
mv-a39ca8e69e759daca60bd7f6cb2d5cb827d98893.zip
eathena: add packet CMSG_LOGIN_PING 0x0200.
Diffstat (limited to 'src/net/eathena/loginhandler.cpp')
-rw-r--r--src/net/eathena/loginhandler.cpp11
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