diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 18:17:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 18:17:02 +0300 |
commit | 38cef34addb9685d6f30e32b657917df98095d02 (patch) | |
tree | aa0e8d432fc6e08a556da45d5d279a09a09c592a /src/net/eathena/playerhandler.cpp | |
parent | 841c5a9c5fdba7c9607a3fcd9a2bf40e20bcca7f (diff) | |
download | plus-38cef34addb9685d6f30e32b657917df98095d02.tar.gz plus-38cef34addb9685d6f30e32b657917df98095d02.tar.bz2 plus-38cef34addb9685d6f30e32b657917df98095d02.tar.xz plus-38cef34addb9685d6f30e32b657917df98095d02.zip |
eathena: add partial support for packet SMSG_PLAYER_READ_BOOK 0x0294.
Diffstat (limited to 'src/net/eathena/playerhandler.cpp')
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index d69d6b6eb..e38aab489 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -68,6 +68,7 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_FAME_ALCHEMIST, SMSG_PLAYER_UPGRADE_MESSAGE, SMSG_PLAYER_FAME_TAEKWON, + SMSG_PLAYER_READ_BOOK, 0 }; handledMessages = _messages; @@ -171,6 +172,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerFameTaekwon(msg); break; + case SMSG_PLAYER_READ_BOOK: + processPlayerReadBook(msg); + break; + default: break; } @@ -573,4 +578,11 @@ void PlayerHandler::processPlayerFameTaekwon(Net::MessageIn &msg) msg.readInt32("total points"); } +void PlayerHandler::processPlayerReadBook(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("book id"); + msg.readInt32("page"); +} + } // namespace EAthena |