From f96c3bf4bdccbf983b21b103d3ba748153e81f1c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 23:00:00 +0300 Subject: eathena: add packet CMSG_REQUEST_IGNORE_LIST 0x00d3. --- src/net/eathena/chathandler.cpp | 5 +++++ src/net/eathena/chathandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 8 insertions(+) (limited to 'src/net/eathena') 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 -- cgit v1.2.3-70-g09d2