summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-05 01:17:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-05 01:17:09 +0300
commit92232a86a44bd31701f0f7957a46f40e89ef4b92 (patch)
tree1f287a515c290a293461771d63ba28ade6e1ac58 /src/resources/iteminfo.h
parent08c64d2dfa17faa8815c87429abe230993c7c6d7 (diff)
downloadmanaverse-92232a86a44bd31701f0f7957a46f40e89ef4b92.tar.gz
manaverse-92232a86a44bd31701f0f7957a46f40e89ef4b92.tar.bz2
manaverse-92232a86a44bd31701f0f7957a46f40e89ef4b92.tar.xz
manaverse-92232a86a44bd31701f0f7957a46f40e89ef4b92.zip
Add support for inherit attribute in items.xml.
It allow inherit most simple item options.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 063d82958..ebc267e15 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -261,6 +261,12 @@ class ItemInfo final
bool isHaveIconColors() const A_WARN_UNUSED
{ return !mIconColorsListName.empty(); }
+ std::string getColorsListName() const A_WARN_UNUSED
+ { return mColorsListName; }
+
+ std::string getIconColorsListName() const A_WARN_UNUSED
+ { return mIconColorsListName; }
+
const std::string replaceColors(std::string str,
const ItemColor color)
const A_WARN_UNUSED;