diff options
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index e2aa51ece..611555ba5 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -80,6 +80,7 @@ ChatHandler::ChatHandler() : SMSG_CHAT_CREATE_ACK, SMSG_CHAT_DESTROY, SMSG_CHAT_JOIN_FAILED, + SMSG_CHAT_ADD_MEMBER, 0 }; handledMessages = _messages; @@ -176,6 +177,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processChatJoinFailed(msg); break; + case SMSG_CHAT_ADD_MEMBER: + processChatAddMember(msg); + break; + default: break; } @@ -804,4 +809,11 @@ void ChatHandler::processChatJoinFailed(Net::MessageIn &msg) msg.readUInt8("flag"); } +void ChatHandler::processChatAddMember(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("users"); + msg.readString(24, "name"); +} + } // namespace EAthena |