diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
3 files changed, 15 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 diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 379f2ba15..e5ea32ed4 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -133,6 +133,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processChatDestroy(Net::MessageIn &msg); static void processChatJoinFailed(Net::MessageIn &msg); + + static void processChatAddMember(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 77a27be38..e6535fda4 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -263,6 +263,7 @@ #define SMSG_CHAT_DESTROY 0x00d8 #define SMSG_CHAT_JOIN_FAILED 0x00da #define SMSG_CHAT_JOIN_ACK 0x00db +#define SMSG_CHAT_ADD_MEMBER 0x00dc #define SMSG_CHAT_LEAVE 0x00dd #define SMSG_CHAT_JOIN_CHANNEL 0x0b08 |