summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-23 01:53:43 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-23 01:53:43 +0300
commita5a533750353cc05e91211a4dfec4e7dd020d7ac (patch)
tree1c69608fe974dd773d012f50cb5430520bea7315 /src/net/eathena/inventoryhandler.cpp
parentc21d7f9229d7d450012a8cd3b197c0f4432bfb7a (diff)
downloadManaVerse-a5a533750353cc05e91211a4dfec4e7dd020d7ac.tar.gz
ManaVerse-a5a533750353cc05e91211a4dfec4e7dd020d7ac.tar.bz2
ManaVerse-a5a533750353cc05e91211a4dfec4e7dd020d7ac.tar.xz
ManaVerse-a5a533750353cc05e91211a4dfec4e7dd020d7ac.zip
eathena: add partial support for packet SMSG_CART_REMOVE 0x012b.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp10
1 files changed, 10 insertions, 0 deletions
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