From 95fdd4dab7a079eb67e98a02a8752631ce05dcab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 22 Mar 2015 12:26:55 +0300 Subject: eathena: add packet CMSG_CHAR_PING 0x0187. --- src/net/eathena/charserverhandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/net/eathena/charserverhandler.cpp') diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 79a316420..533f8f633 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -707,4 +707,10 @@ void CharServerHandler::processCharCharacters(Net::MessageIn &msg) client->setState(STATE_CHAR_SELECT); } +void CharServerHandler::ping() const +{ + createOutPacket(CMSG_CHAR_PING); + outMsg.writeInt32(0, "unused"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2