summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-18 17:22:04 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-18 17:22:04 +0300
commit240cf581ec7e1727097065a55a654dfdb6330ccd (patch)
tree27fcf1b5cdbafc0abb98f3f721efae38c191ac0b /src/net/eathena/inventoryhandler.cpp
parent16c256230774fc1dcdf66f16a70a3cd9f6fd0343 (diff)
downloadplus-240cf581ec7e1727097065a55a654dfdb6330ccd.tar.gz
plus-240cf581ec7e1727097065a55a654dfdb6330ccd.tar.bz2
plus-240cf581ec7e1727097065a55a654dfdb6330ccd.tar.xz
plus-240cf581ec7e1727097065a55a654dfdb6330ccd.zip
eathena: add pacrtial support for packet SMSG_PLAYER_CART_ADD_ERROR 0x012c.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index b0dbab786..62283dd4a 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -115,6 +115,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_COOKING_LIST,
SMSG_ITEM_DAMAGED,
SMSG_PLAYER_FAVORITE_ITEM,
+ SMSG_PLAYER_CART_ADD_ERROR,
0
};
handledMessages = _messages;
@@ -283,6 +284,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processFavoriteItem(msg);
break;
+ case SMSG_PLAYER_CART_ADD_ERROR:
+ processCartAddError(msg);
+ break;
+
default:
break;
}
@@ -1108,4 +1113,11 @@ void InventoryHandler::processFavoriteItem(Net::MessageIn &msg)
msg.readUInt8("favorite (0 - favorite)");
}
+void InventoryHandler::processCartAddError(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readUInt8("flag");
+}
+
} // namespace EAthena