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.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp
index 11cc8f311..7ffd0f025 100644
--- a/src/net/eathena/inventoryhandler.cpp
+++ b/src/net/eathena/inventoryhandler.cpp
@@ -71,6 +71,7 @@ InventoryHandler::InventoryHandler() :
SMSG_PLAYER_ATTACK_RANGE,
SMSG_PLAYER_UNE_CARD,
SMSG_PLAYER_INSERT_CARD,
+ SMSG_PLAYER_ITEM_RENTAL_TIME,
0
};
handledMessages = _messages;
@@ -161,6 +162,10 @@ void InventoryHandler::handleMessage(Net::MessageIn &msg)
processPlayerInsertCard(msg);
break;
+ case SMSG_PLAYER_ITEM_RENTAL_TIME:
+ processPlayerItemRentalTime(msg);
+ break;
+
default:
break;
}
@@ -637,4 +642,11 @@ void InventoryHandler::selectEgg(const Item *const item) const
menu = MenuType::Unknown;
}
+void InventoryHandler::processPlayerItemRentalTime(Net::MessageIn &msg)
+{
+ // +++ need update item rental time
+ msg.readInt16("item id");
+ msg.readInt32("seconds");
+}
+
} // namespace EAthena