summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-05-07 20:20:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-05-07 20:20:09 +0300
commit860c60be6c7a925bb4d8db291b771a6044d20308 (patch)
treeddeb0b2bd54a4b66bd699b220050e4f952bb429f /src/item.h
parent6f9d0494f09833e29a05a2c06287fbee73cb7421 (diff)
downloadmanaverse-860c60be6c7a925bb4d8db291b771a6044d20308.tar.gz
manaverse-860c60be6c7a925bb4d8db291b771a6044d20308.tar.bz2
manaverse-860c60be6c7a925bb4d8db291b771a6044d20308.tar.xz
manaverse-860c60be6c7a925bb4d8db291b771a6044d20308.zip
Add getName property to item and flooritem.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index ad051846d..4683f8816 100644
--- a/src/item.h
+++ b/src/item.h
@@ -154,6 +154,8 @@ class Item
const ItemInfo &getInfo() const
{ return ItemDB::get(mId); }
+ std::string getName();
+
static Image *getImage(int id, unsigned char color);
bool isHaveTag(int tagId);