From f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 11 Mar 2015 19:35:18 +0300 Subject: eathena: add partial support for packet SMSG_PLAYER_REPAIR_EFFECT 0x01fe. --- src/net/eathena/inventoryhandler.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 0aa9f1af2..dae6e9aba 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -108,6 +108,7 @@ InventoryHandler::InventoryHandler() : SMSG_PLAYER_IDENTIFIED, SMSG_PLAYER_REFINE, SMSG_PLAYER_REPAIR_LIST, + SMSG_PLAYER_REPAIR_EFFECT, 0 }; handledMessages = _messages; @@ -248,6 +249,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processPlayerRepairList(msg); break; + case SMSG_PLAYER_REPAIR_EFFECT: + processPlayerRepairEffect(msg); + break; + default: break; } @@ -1007,4 +1012,12 @@ void InventoryHandler::processPlayerRepairList(Net::MessageIn &msg) menu = MenuType::RepairWespon; } +void InventoryHandler::processPlayerRepairEffect(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readInt16("item index"); + msg.readUInt8("flag"); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2