summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-10 14:02:33 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-10 14:02:33 +0300
commit02a9ff284ebc4c096f98ad8b23259ea67f82f8e1 (patch)
treeba63a3d29e5f34421c13ea100cf0e2a8157e3851 /src/resources/iteminfo.h
parentfef54b75093d22d2682da5dcd2f6a459ebc37383 (diff)
downloadmanaplus-02a9ff284ebc4c096f98ad8b23259ea67f82f8e1.tar.gz
manaplus-02a9ff284ebc4c096f98ad8b23259ea67f82f8e1.tar.bz2
manaplus-02a9ff284ebc4c096f98ad8b23259ea67f82f8e1.tar.xz
manaplus-02a9ff284ebc4c096f98ad8b23259ea67f82f8e1.zip
Add method into iteminfo for return link to item.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index 1233daf73..6ab059d7c 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -75,6 +75,8 @@ class ItemInfo final
const std::string getName(const ItemColor color)
const A_WARN_UNUSED;
+ const std::string getLink() const A_WARN_UNUSED;
+
void setDisplay(const SpriteDisplay &display)
{ mDisplay = display; }