diff options
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 8 | ||||
-rw-r--r-- | src/net/eathena/chathandler.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 69e6eae9a..5e1a0679e 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -329,4 +329,12 @@ void ChatHandler::processWhisper(Net::MessageIn &msg) const processWhisperContinue(nick, msg.readString(chatMsgLength, "message")); } +void ChatHandler::processWhisperResponse(Net::MessageIn &msg) +{ + BLOCK_START("ChatHandler::processWhisperResponse") + + const uint8_t type = msg.readUInt8("response"); + processWhisperResponseContinue(type); +} + } // namespace EAthena diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 309216a5f..35a3c186c 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -63,6 +63,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler void processChat(Net::MessageIn &msg); void processWhisper(Net::MessageIn &msg) const; + + void processWhisperResponse(Net::MessageIn &msg); }; } // namespace EAthena |