From de361843e60f3a073a76d64d373462ebea824338 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 12 Mar 2015 13:56:54 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_UPGRADE_MESSAGE 0x0223. --- src/net/eathena/playerhandler.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/net/eathena/playerhandler.cpp') 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 -- cgit v1.2.3-60-g2f50