summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 16:54:46 +0300
commit7d162145958fccfcc3ba32a7db3b8161cfe83fe2 (patch)
treed109f74483a9274bca46a41670cc5ec69b50876f /src/net/eathena/inventoryhandler.cpp
parent8aad60beb37fb0f364b0d8ab5bbe66232eacb676 (diff)
downloadmv-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.gz
mv-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.bz2
mv-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.tar.xz
mv-7d162145958fccfcc3ba32a7db3b8161cfe83fe2.zip
Mark all unimplimented packets with UNIMPLIMENTEDPACKET attribute.
Diffstat (limited to 'src/net/eathena/inventoryhandler.cpp')
-rw-r--r--src/net/eathena/inventoryhandler.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 30768e86f..28518eb85 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -717,12 +717,11 @@ void InventoryHandler::processPlayerStorageAdd(Net::MessageIn &msg)
void InventoryHandler::processPlayerUseCard(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
// +++ here need show dialog with item selection for card.
const int count = (msg.readInt16("len") - 4) / 2;
for (int f = 0; f < count; f ++)
- {
msg.readInt16("item id");
- }
}
void InventoryHandler::processPlayerInsertCard(Net::MessageIn &msg)
@@ -745,6 +744,7 @@ void InventoryHandler::selectEgg(const Item *const item) const
void InventoryHandler::processPlayerItemRentalTime(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
// +++ need update item rental time
msg.readInt16("item id");
msg.readInt32("seconds");
@@ -752,6 +752,7 @@ void InventoryHandler::processPlayerItemRentalTime(Net::MessageIn &msg)
void InventoryHandler::processPlayerItemRentalExpired(Net::MessageIn &msg)
{
+ UNIMPLIMENTEDPACKET;
// ++ need remove item from inventory
msg.readInt16("index");
msg.readInt16("item id");
@@ -819,6 +820,7 @@ void InventoryHandler::processCartInfo(Net::MessageIn &msg)
void InventoryHandler::processCartRemove(Net::MessageIn &msg A_UNUSED)
{
+ UNIMPLIMENTEDPACKET;
// +++ need close or clear cart?
}