summaryrefslogtreecommitdiff
path: root/src/resources/inventory/inventory.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-24 21:40:32 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-24 21:40:32 +0300
commitaf5fde1f88bd5c8d0e11b59d73f6c76610c14acf (patch)
treefa96240f6134843ccfb6b281ba8c32fead8f3cd8 /src/resources/inventory/inventory.h
parentf2f123e95adc6aa6a1a81bef0414705df30986e3 (diff)
downloadmv-af5fde1f88bd5c8d0e11b59d73f6c76610c14acf.tar.gz
mv-af5fde1f88bd5c8d0e11b59d73f6c76610c14acf.tar.bz2
mv-af5fde1f88bd5c8d0e11b59d73f6c76610c14acf.tar.xz
mv-af5fde1f88bd5c8d0e11b59d73f6c76610c14acf.zip
Add into inventory method for set tag to item at given index.
Diffstat (limited to 'src/resources/inventory/inventory.h')
-rw-r--r--src/resources/inventory/inventory.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/inventory/inventory.h b/src/resources/inventory/inventory.h
index 5180e49e1..a7b1e8e73 100644
--- a/src/resources/inventory/inventory.h
+++ b/src/resources/inventory/inventory.h
@@ -126,6 +126,9 @@ class Inventory notfinal
void setOptions(const int index,
const ItemOptionsList *const options);
+ void setTag(const int index,
+ const int tag);
+
void moveItem(const int index1,
const int index2);