From f4b973c1e75e43d75ab9d6eb4f629eb10d15a520 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 12:50:25 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_REFINE 0x0188. --- src/net/eathena/inventoryhandler.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 96a88c0b3..ca354bf6c 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -106,6 +106,7 @@ InventoryHandler::InventoryHandler() : SMSG_PLAYER_CART_REMOVE, SMSG_PLAYER_IDENTIFY_LIST, SMSG_PLAYER_IDENTIFIED, + SMSG_PLAYER_REFINE, 0 }; handledMessages = _messages; @@ -238,6 +239,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processPlayerIdentified(msg); break; + case SMSG_PLAYER_REFINE: + processPlayerRefine(msg); + break; + default: break; } @@ -972,4 +977,13 @@ void InventoryHandler::processPlayerIdentified(Net::MessageIn &msg) msg.readUInt8("flag"); } +void InventoryHandler::processPlayerRefine(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("flag"); + msg.readInt16("inv index"); + msg.readInt16("val"); +} + } // namespace EAthena -- cgit v1.2.3-60-g2f50