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.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 820f9f71a..b0dbab786 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -114,6 +114,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_STORAGE_PASSWORD_RESULT,
SMSG_PLAYER_COOKING_LIST,
SMSG_ITEM_DAMAGED,
+ SMSG_PLAYER_FAVORITE_ITEM,
0
};
handledMessages = _messages;
@@ -278,6 +279,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processItemDamaged(msg);
break;
+ case SMSG_PLAYER_FAVORITE_ITEM:
+ processFavoriteItem(msg);
+ break;
+
default:
break;
}
@@ -1095,4 +1100,12 @@ void InventoryHandler::processItemDamaged(Net::MessageIn &msg)
msg.readInt32("account id");
}
+void InventoryHandler::processFavoriteItem(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+
+ msg.readInt16("item index");
+ msg.readUInt8("favorite (0 - favorite)");
+}
+
} // namespace EAthena