diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
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 |