summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 20:29:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 20:29:39 +0300
commit1bf045651a77b43f870236d7c64e05f47ca1861b (patch)
treedeb543cf504fc933cd6e5e13502bb716f05af2d8 /src/net/eathena/chathandler.cpp
parent3e3efc374b93e92fd23fd8193df32c9c2d70f00a (diff)
downloadmv-1bf045651a77b43f870236d7c64e05f47ca1861b.tar.gz
mv-1bf045651a77b43f870236d7c64e05f47ca1861b.tar.bz2
mv-1bf045651a77b43f870236d7c64e05f47ca1861b.tar.xz
mv-1bf045651a77b43f870236d7c64e05f47ca1861b.zip
eathena: add partial support for packet SMSG_CHAT_ADD_MEMBER 0x00dc.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp12
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