summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 23:00:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 23:00:00 +0300
commitf96c3bf4bdccbf983b21b103d3ba748153e81f1c (patch)
tree7c5e216ee6ed5e2217577eccad38b025d8090930 /src/net/eathena
parente597401af5d0005f3f6039cc0e76d8ecfaae66ef (diff)
downloadmanaplus-f96c3bf4bdccbf983b21b103d3ba748153e81f1c.tar.gz
manaplus-f96c3bf4bdccbf983b21b103d3ba748153e81f1c.tar.bz2
manaplus-f96c3bf4bdccbf983b21b103d3ba748153e81f1c.tar.xz
manaplus-f96c3bf4bdccbf983b21b103d3ba748153e81f1c.zip
eathena: add packet CMSG_REQUEST_IGNORE_LIST 0x00d3.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chathandler.cpp5
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 8013513a1..eaea75651 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -236,6 +236,11 @@ void ChatHandler::unIgnore(const std::string &nick) const
outMsg.writeInt8(1, "flag");
}
+void ChatHandler::requestIgnoreList() const
+{
+ MessageOut outMsg(CMSG_REQUEST_IGNORE_LIST);
+}
+
void ChatHandler::createChatRoom(const std::string &title,
const std::string &password,
const int limit,
diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h
index 78da589ab..6e2689087 100644
--- a/src/net/eathena/chathandler.h
+++ b/src/net/eathena/chathandler.h
@@ -68,6 +68,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler
void unIgnore(const std::string &nick) const override final;
+ void requestIgnoreList() const override final;
+
protected:
void processChat(Net::MessageIn &msg);
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index e5fdfc683..7fc6ea834 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -335,6 +335,7 @@
#define CMSG_SOLVE_CHAR_NAME 0x0368
#define CMSG_IGNORE_ALL 0x00d0
#define CMSG_IGNORE_NICK 0x00cf
+#define CMSG_REQUEST_IGNORE_LIST 0x00d3
#define CMSG_REQUEST_RANKS 0x097c
#define CMSG_SET_SHORTCUTS 0x02ba
#define CMSG_NPC_COMPLETE_PROGRESS_BAR 0x02f1