summaryrefslogtreecommitdiff
path: root/src/resources/iteminfo.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-25 22:36:51 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-25 22:36:51 +0000
commitba5c32ee9c5c57613ec678d47c3871e9ea312402 (patch)
treed33acb84348eb0acad268af1db9213f9dd46f21b /src/resources/iteminfo.h
parent0de989625ed27003420ca3bd6a55183901564fbb (diff)
downloadmana-client-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.gz
mana-client-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.bz2
mana-client-ba5c32ee9c5c57613ec678d47c3871e9ea312402.tar.xz
mana-client-ba5c32ee9c5c57613ec678d47c3871e9ea312402.zip
Added items effect description support. TODO: Display it in buy/sell/inventory/equip windows.
Diffstat (limited to 'src/resources/iteminfo.h')
-rw-r--r--src/resources/iteminfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h
index c9c5c85c..f634025f 100644
--- a/src/resources/iteminfo.h
+++ b/src/resources/iteminfo.h
@@ -53,7 +53,11 @@ class ItemInfo
void setDescription(const std::string &description);
std::string getDescription();
-
+
+ void setEffect(const std::string &effect);
+
+ std::string getEffect();
+
void setType(short type);
short getType();
@@ -76,6 +80,7 @@ class ItemInfo
short image, art;
std::string name;
std::string description;
+ std::string effect;
short type, weight;
char slot;