diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-07 20:20:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-07 20:20:09 +0300 |
commit | 860c60be6c7a925bb4d8db291b771a6044d20308 (patch) | |
tree | ddeb0b2bd54a4b66bd699b220050e4f952bb429f /src/item.h | |
parent | 6f9d0494f09833e29a05a2c06287fbee73cb7421 (diff) | |
download | manaplus-860c60be6c7a925bb4d8db291b771a6044d20308.tar.gz manaplus-860c60be6c7a925bb4d8db291b771a6044d20308.tar.bz2 manaplus-860c60be6c7a925bb4d8db291b771a6044d20308.tar.xz manaplus-860c60be6c7a925bb4d8db291b771a6044d20308.zip |
Add getName property to item and flooritem.
Diffstat (limited to 'src/item.h')
-rw-r--r-- | src/item.h | 2 |
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); |