From 574efa8ae89f7786239753537eb32c222686f4a1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Sep 2015 12:36:08 +0300 Subject: Impliment packets CMSG_SOLVE_CHAR_NAME and SMSG_SOLVE_CHAR_NAME. --- src/net/eathena/beingrecv.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/net/eathena/beingrecv.cpp') diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp index 2aaf6be7e..31a7bd371 100644 --- a/src/net/eathena/beingrecv.cpp +++ b/src/net/eathena/beingrecv.cpp @@ -1672,4 +1672,12 @@ void BeingRecv::processSkillCancel(Net::MessageIn &msg) msg.readInt32("id?"); } +void BeingRecv::processSolveCharName(Net::MessageIn &msg) +{ + const int id = msg.readInt32("char id"); + const std::string name = msg.readString(24, "name"); + if (actorManager) + actorManager->addChar(id, name); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2