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.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index c60af4755..4cbe83027 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -112,6 +112,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_REFINE_LIST,
SMSG_PLAYER_STORAGE_PASSWORD,
SMSG_PLAYER_STORAGE_PASSWORD_RESULT,
+ SMSG_PLAYER_COOKING_LIST,
0
};
handledMessages = _messages;
@@ -268,6 +269,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerStoragePasswordResult(msg);
break;
+ case SMSG_PLAYER_COOKING_LIST:
+ processPlayerCookingList(msg);
+ break;
+
default:
break;
}
@@ -1067,4 +1072,14 @@ void InventoryHandler::processPlayerStoragePasswordResult(Net::MessageIn &msg)
msg.readInt16("error count");
}
+void InventoryHandler::processPlayerCookingList(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ const int count = (msg.readInt16("len") - 6) / 2;
+ msg.readInt16("list type");
+ for (int f = 0; f < count; f ++)
+ msg.readInt16("item id");
+}
+
} // namespace EAthena