diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 13:56:54 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 13:56:54 +0300 |
commit | de361843e60f3a073a76d64d373462ebea824338 (patch) | |
tree | 942783ad5d4c8191a3c23ec621ed5c1dfc2586e1 /src/net/eathena/playerhandler.cpp | |
parent | 789aac29caf90e3eabe2f912fb0e0653ee290797 (diff) | |
download | manaverse-de361843e60f3a073a76d64d373462ebea824338.tar.gz manaverse-de361843e60f3a073a76d64d373462ebea824338.tar.bz2 manaverse-de361843e60f3a073a76d64d373462ebea824338.tar.xz manaverse-de361843e60f3a073a76d64d373462ebea824338.zip |
eathena: add partial support for packet SMSG_PLAYER_UPGRADE_MESSAGE 0x0223.
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 93cd5ccf9..1462343ef 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -66,6 +66,7 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_NOTIFY_MAPINFO, SMSG_PLAYER_FAME_BLACKSMITH, SMSG_PLAYER_FAME_ALCHEMIST, + SMSG_PLAYER_UPGRADE_MESSAGE, 0 }; handledMessages = _messages; @@ -161,6 +162,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerFameAlchemist(msg); break; + case SMSG_PLAYER_UPGRADE_MESSAGE: + processPlayerUpgradeMessage(msg); + break; + default: break; } @@ -549,4 +554,11 @@ void PlayerHandler::processPlayerFameAlchemist(Net::MessageIn &msg) msg.readInt32("total points"); } +void PlayerHandler::processPlayerUpgradeMessage(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("result"); + msg.readInt16("item id"); +} + } // namespace EAthena |