diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:14:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:14:27 +0300 |
commit | d18a2a0ed390162b771fea7d4c101f37f6be247a (patch) | |
tree | fe06befd74ab94ccaf68d04cf0fa5083134fe338 /src/net/tmwa | |
parent | 51ac76e8effd03b968a142b7bd900584d5942a59 (diff) | |
download | plus-d18a2a0ed390162b771fea7d4c101f37f6be247a.tar.gz plus-d18a2a0ed390162b771fea7d4c101f37f6be247a.tar.bz2 plus-d18a2a0ed390162b771fea7d4c101f37f6be247a.tar.xz plus-d18a2a0ed390162b771fea7d4c101f37f6be247a.zip |
Move processWhisperResponse from ea namespace into eathena and tmwa.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 8 | ||||
-rw-r--r-- | src/net/tmwa/chathandler.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index 15f65fe90..3eada4215 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -380,4 +380,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 TmwAthena diff --git a/src/net/tmwa/chathandler.h b/src/net/tmwa/chathandler.h index e548fbff9..a72dfb78a 100644 --- a/src/net/tmwa/chathandler.h +++ b/src/net/tmwa/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 TmwAthena |