summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-24 00:13:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-24 00:13:24 +0300
commita6c1e29279d28b18012e1a87d23ff114302bd610 (patch)
tree5d2767a184b26017b43f55de9144a77e9f26edab /src/being/being.h
parent59607172a197cbe622dabc4619100f69067403dd (diff)
downloadmanaplus-a6c1e29279d28b18012e1a87d23ff114302bd610.tar.gz
manaplus-a6c1e29279d28b18012e1a87d23ff114302bd610.tar.bz2
manaplus-a6c1e29279d28b18012e1a87d23ff114302bd610.tar.xz
manaplus-a6c1e29279d28b18012e1a87d23ff114302bd610.zip
Impliment packet SMSG_SPIRIT_BALLS.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 461a8626f..10e1b8482 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -920,6 +920,12 @@ class Being notfinal : public ActorSprite,
std::string getBuyBoard() const A_WARN_UNUSED
{ return mBuyBoard; }
+
+ void setSpiritBalls(const unsigned int balls)
+ { mSpiritBalls = balls; }
+
+ unsigned int getSpiritBalls() const A_WARN_UNUSED
+ { return mSpiritBalls; }
#endif
void setKarma(const int karma)
@@ -1154,6 +1160,7 @@ class Being notfinal : public ActorSprite,
int mCriticalHit;
unsigned int mPvpRank;
unsigned int mNumber;
+ unsigned int mSpiritBalls;
int mUsageCounter;
int mKarma;
int mManner;