summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-09 16:52:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-09 16:52:53 +0300
commit0ff1cce3a289c2a813ed5db13250abbb23d2a9f0 (patch)
tree402329897036b7ce234088b176c6012e2a6f86a4 /src/net/tmwa
parent6d76c23179a40662e5da9c04d3ddf578b8849c8d (diff)
downloadmanaverse-0ff1cce3a289c2a813ed5db13250abbb23d2a9f0.tar.gz
manaverse-0ff1cce3a289c2a813ed5db13250abbb23d2a9f0.tar.bz2
manaverse-0ff1cce3a289c2a813ed5db13250abbb23d2a9f0.tar.xz
manaverse-0ff1cce3a289c2a813ed5db13250abbb23d2a9f0.zip
eathena: add packet CMSG_CREAYE_CHAT_ROOM 0x00d5.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/chathandler.cpp7
-rw-r--r--src/net/tmwa/chathandler.h5
2 files changed, 12 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp
index 3648197eb..895468b4b 100644
--- a/src/net/tmwa/chathandler.cpp
+++ b/src/net/tmwa/chathandler.cpp
@@ -246,6 +246,13 @@ void ChatHandler::unIgnoreAll() const
outMsg.writeInt8(1, "flag");
}
+void ChatHandler::createChatRoom(const std::string &title A_UNUSED,
+ const std::string &password A_UNUSED,
+ const int limit A_UNUSED,
+ const bool isPublic A_UNUSED)
+{
+}
+
void ChatHandler::processChat(Net::MessageIn &msg)
{
BLOCK_START("ChatHandler::processChat")
diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h
index a72dfb78a..52b88ebd7 100644
--- a/src/net/tmwa/chathandler.h
+++ b/src/net/tmwa/chathandler.h
@@ -59,6 +59,11 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
static void processRaw(MessageOut &restrict outMsg,
const std::string &restrict line);
+ void createChatRoom(const std::string &title,
+ const std::string &password,
+ const int limit,
+ const bool isPublic) override final;
+
protected:
void processChat(Net::MessageIn &msg);