summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 20:00:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 20:00:18 +0300
commitf99ef6f9d8c6db8e9c772580f36a57f6afff564e (patch)
treec5a12944d09f49e88f1f6c1db27741c052c9c7d4 /src/net/eathena/chathandler.cpp
parentf1a4060bf1e4a0c30e4f3a68731ac2e758f247e9 (diff)
downloadmv-f99ef6f9d8c6db8e9c772580f36a57f6afff564e.tar.gz
mv-f99ef6f9d8c6db8e9c772580f36a57f6afff564e.tar.bz2
mv-f99ef6f9d8c6db8e9c772580f36a57f6afff564e.tar.xz
mv-f99ef6f9d8c6db8e9c772580f36a57f6afff564e.zip
eathena: add partial support for packet SMSG_CHAT_DESTROY 0x00d8.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 18cfa32cd..353d36856 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -78,6 +78,7 @@ ChatHandler::ChatHandler() :
SMSG_CHAT_JOIN_CHANNEL,
SMSG_IGNORE_NICK_ACK,
SMSG_CHAT_CREATE_ACK,
+ SMSG_CHAT_DESTROY,
0
};
handledMessages = _messages;
@@ -166,6 +167,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg)
processChatCreateAck(msg);
break;
+ case SMSG_CHAT_DESTROY:
+ processChatDestroy(msg);
+ break;
+
default:
break;
}
@@ -782,4 +787,10 @@ void ChatHandler::processChatCreateAck(Net::MessageIn &msg)
msg.readUInt8("flag");
}
+void ChatHandler::processChatDestroy(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("chat id");
+}
+
} // namespace EAthena