summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-21 04:44:53 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-21 20:37:02 +0300
commit862e8f821789014b6167f37976b80694d6d310e3 (patch)
tree7c4d77a370f4da3d84a649b0d10e4d0a05725e6a /src/resources/inventory/inventory.h
parent62fa051ace7097e78134d46505070a70c08e128f (diff)
downloadplus-862e8f821789014b6167f37976b80694d6d310e3.tar.gz
plus-862e8f821789014b6167f37976b80694d6d310e3.tar.bz2
plus-862e8f821789014b6167f37976b80694d6d310e3.tar.xz
plus-862e8f821789014b6167f37976b80694d6d310e3.zip
Add item options into item and get it from server.
Diffstat (limited to 'src/resources/inventory/inventory.h')
-rw-r--r--src/resources/inventory/inventory.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/inventory/inventory.h b/src/resources/inventory/inventory.h
index f4d275eae..5180e49e1 100644
--- a/src/resources/inventory/inventory.h
+++ b/src/resources/inventory/inventory.h
@@ -47,6 +47,8 @@
class InventoryListener;
class Item;
+struct ItemOptionsList;
+
class Inventory notfinal
{
public:
@@ -121,6 +123,9 @@ class Inventory notfinal
const int *const cards,
const int size) const;
+ void setOptions(const int index,
+ const ItemOptionsList *const options);
+
void moveItem(const int index1,
const int index2);