diff options
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 |