summaryrefslogtreecommitdiff
path: root/src/item.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-21 17:43:19 +0300
commite3ad003fe09ff90524ffa5deae844e6721b903b2 (patch)
tree756f8cae3ee12060548384ece6750a25bee4ab45 /src/item.h
parent4ab7d38fe9033695e23042e97b55999b26f00fd7 (diff)
downloadmanaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.gz
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.bz2
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.tar.xz
manaplus-e3ad003fe09ff90524ffa5deae844e6721b903b2.zip
Set cards from net code.
Diffstat (limited to 'src/item.h')
-rw-r--r--src/item.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index 13f34499b..15ea64a07 100644
--- a/src/item.h
+++ b/src/item.h
@@ -197,6 +197,9 @@ class Item notfinal
void setCards(const int *const cards, const int size);
+ const int *getCards() const
+ { return mCards; }
+
int mId; /**< Item type id. */
unsigned char mColor;
int mQuantity; /**< Number of items. */