From cd02cce9c9b344c67b05b9b70f944bbed600c62e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Aug 2017 18:16:32 +0300 Subject: Add packet CMSG_CHECK_NAME 0x0a13. --- src/net/eathena/beinghandler.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/net/eathena/beinghandler.cpp') diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index d53848654..31380aa0d 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -106,4 +106,12 @@ void BeingHandler::requestNameByCharId(const int id) const outMsg.writeInt32(id, "character id"); } +void BeingHandler::requestCheckName(const std::string &name) const +{ + if (packetVersion < 20140423) + return; + createOutPacket(CMSG_CHECK_NAME); + outMsg.writeString(name, 24, "name"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2