diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-11 19:35:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-11 19:35:18 +0300 |
commit | f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8 (patch) | |
tree | 16e6d2dd418432c7ba2d8b24507d18ee158e1229 /src/net/eathena/inventoryhandler.cpp | |
parent | b4024f971a41efebff9bbe53f71e78be6eda46af (diff) | |
download | manaverse-f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8.tar.gz manaverse-f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8.tar.bz2 manaverse-f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8.tar.xz manaverse-f4f98c7627c1978bc49d156a8b4dbc5d4170f0d8.zip |
eathena: add partial support for packet SMSG_PLAYER_REPAIR_EFFECT 0x01fe.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
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 |