From e3ad003fe09ff90524ffa5deae844e6721b903b2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 21 Oct 2014 17:43:19 +0300 Subject: Set cards from net code. --- src/item.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/item.h') 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. */ -- cgit v1.2.3-60-g2f50