diff options
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 22c9ee849..323fa681c 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -75,6 +75,7 @@ CharServerHandler::CharServerHandler() : SMSG_CHAR_MAP_INFO, SMSG_CHANGE_MAP_SERVER, SMSG_CHAR_PINCODE_STATUS, + SMSG_CHAR_RENAME, 0 }; handledMessages = _messages; @@ -125,6 +126,10 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) processPincodeStatus(msg); break; + case SMSG_CHAR_RENAME: + processCharRename(msg); + break; + default: break; } @@ -482,4 +487,9 @@ void CharServerHandler::renameCharacter(Net::Character *const character, outMsg.writeString(newName, 24, "name"); } +void CharServerHandler::processCharRename(Net::MessageIn &msg) +{ + msg.readInt16("flag"); +} + } // namespace EAthena |