summaryrefslogtreecommitdiff
path: root/src/net/eathena/charserverhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-22 12:26:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-22 12:26:55 +0300
commit95fdd4dab7a079eb67e98a02a8752631ce05dcab (patch)
treee62efbe4da4d1c21013b7cad8862d34253fbc2cb /src/net/eathena/charserverhandler.cpp
parent0e7aa4918ba0a6dd94076e5f75725faabe483f69 (diff)
downloadmanaverse-95fdd4dab7a079eb67e98a02a8752631ce05dcab.tar.gz
manaverse-95fdd4dab7a079eb67e98a02a8752631ce05dcab.tar.bz2
manaverse-95fdd4dab7a079eb67e98a02a8752631ce05dcab.tar.xz
manaverse-95fdd4dab7a079eb67e98a02a8752631ce05dcab.zip
eathena: add packet CMSG_CHAR_PING 0x0187.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r--src/net/eathena/charserverhandler.cpp6
1 files changed, 6 insertions, 0 deletions
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