From a5a533750353cc05e91211a4dfec4e7dd020d7ac Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 23 Jan 2015 01:53:43 +0300 Subject: eathena: add partial support for packet SMSG_CART_REMOVE 0x012b. --- src/net/eathena/inventoryhandler.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/net/eathena/inventoryhandler.cpp') diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index ab384e2ce..da8091f98 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -95,6 +95,7 @@ InventoryHandler::InventoryHandler() : SMSG_PLAYER_ITEM_RENTAL_TIME, SMSG_PLAYER_ITEM_RENTAL_EXPIRED, SMSG_CART_INFO, + SMSG_CART_REMOVE, 0 }; handledMessages = _messages; @@ -197,6 +198,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg) processCartInfo(msg); break; + case SMSG_CART_REMOVE: + processCartRemove(msg); + break; + default: break; } @@ -739,4 +744,9 @@ void InventoryHandler::processCartInfo(Net::MessageIn &msg) msg.readInt32("max cart weight"); } +void InventoryHandler::processCartRemove(Net::MessageIn &msg A_UNUSED) +{ + //+++ need close or clear cart? +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2