summaryrefslogtreecommitdiff
path: root/src/net/eathena/chathandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-28 23:01:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-28 23:01:11 +0300
commit4e5cc9a9f4bcd7ba16f3bdbdce08fc4213164ff6 (patch)
tree6694e0fcbe744e835251fbe438a4fc09d0d8c401 /src/net/eathena/chathandler.cpp
parent388e14d628a67dd981c2cef7d7553d7cad22e091 (diff)
downloadmv-4e5cc9a9f4bcd7ba16f3bdbdce08fc4213164ff6.tar.gz
mv-4e5cc9a9f4bcd7ba16f3bdbdce08fc4213164ff6.tar.bz2
mv-4e5cc9a9f4bcd7ba16f3bdbdce08fc4213164ff6.tar.xz
mv-4e5cc9a9f4bcd7ba16f3bdbdce08fc4213164ff6.zip
eathena: add packet CMSG_LEAVE_CHAT_ROOM 0x00e3.
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r--src/net/eathena/chathandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index fad5f2c1b..78e909d62 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -939,4 +939,9 @@ void ChatHandler::processScriptMessage(Net::MessageIn &msg)
msg.readString(sz, "message");
}
+void ChatHandler::leaveChatRoom() const
+{
+ createOutPacket(CMSG_LEAVE_CHAT_ROOM);
+}
+
} // namespace EAthena