summaryrefslogtreecommitdiff
path: root/src/resources/inventory/complexinventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-08 20:27:29 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-08 20:27:29 +0300
commit5d0b4c09a67f279847337aa06bc3066c07f63114 (patch)
treeb2f8bbdb3252222c9bc50efa04a5689faa3b1760 /src/resources/inventory/complexinventory.h
parent4b014aa3f403ae02587f6a3d89180f75161d4b78 (diff)
downloadmv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.gz
mv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.bz2
mv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.xz
mv-5d0b4c09a67f279847337aa06bc3066c07f63114.zip
Impliment craft inventory for moving items one by one.
Diffstat (limited to 'src/resources/inventory/complexinventory.h')
-rw-r--r--src/resources/inventory/complexinventory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/resources/inventory/complexinventory.h b/src/resources/inventory/complexinventory.h
index 520779c28..95183cb7f 100644
--- a/src/resources/inventory/complexinventory.h
+++ b/src/resources/inventory/complexinventory.h
@@ -44,6 +44,22 @@ class ComplexInventory final : public Inventory
* Destructor.
*/
~ComplexInventory();
+
+ bool addVirtualItem(const Item *const item,
+ int index,
+ const int amount) override final;
+
+ void setItem(const int index,
+ const int id,
+ const int type,
+ const int quantity,
+ const uint8_t refine,
+ const ItemColor color,
+ const Identified identified,
+ const Damaged damaged,
+ const Favorite favorite,
+ const Equipm equipment,
+ const Equipped equipped) override final;
};
#endif // RESOURCES_INVENTORY_COMPLEXINVENTORY_H