diff options
Diffstat (limited to 'engines/xeen/item.h')
-rw-r--r-- | engines/xeen/item.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/xeen/item.h b/engines/xeen/item.h index c79de0c282..044d73e368 100644 --- a/engines/xeen/item.h +++ b/engines/xeen/item.h @@ -116,6 +116,11 @@ public: void clear(); /** + * Handles copying items from one character to another + */ + InventoryItems &operator=(const InventoryItems &src); + + /** * Return whether a given item passes class-based usage restrictions * @param itemId Item Index * @param suppressError If true, no dialog is shown if the item doesn't pass restrictions @@ -269,6 +274,11 @@ public: InventoryItems &operator[](ItemCategory category); /** + * Returns the inventory items for a given category + */ + const InventoryItems &operator[](ItemCategory category) const; + + /** * Breaks all the items in a given character's inventory */ void breakAllItems(); |