summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 86dd7ac02..9dc644fd5 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -237,6 +237,14 @@ void InventoryHandler::useCard(const int index) const
outMsg.writeInt16(index + INVENTORY_OFFSET, "index");
}
+void InventoryHandler::insertCard(const int cardIndex,
+ const int itemIndex) const
+{
+ MessageOut outMsg(CMSG_PLAYER_INSERT_CARD);
+ outMsg.writeInt16(cardIndex + INVENTORY_OFFSET, "card index");
+ outMsg.writeInt16(itemIndex + INVENTORY_OFFSET, "item index");
+}
+
void InventoryHandler::processPlayerEquipment(Net::MessageIn &msg)
{
BLOCK_START("InventoryHandler::processPlayerEquipment")