summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-20 23:48:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-20 23:48:46 +0300
commit68581ace3255ea4d8b0f0e5b33a33633a27b8e42 (patch)
tree498fbea8f60078e71b60cfb2dfec012563ca7aad /src/being/being.h
parent7a618aa66e0b5b7df3bccd1bf1df908f1b421629 (diff)
downloadmv-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.gz
mv-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.bz2
mv-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.tar.xz
mv-68581ace3255ea4d8b0f0e5b33a33633a27b8e42.zip
eathena: add packet SMSG_NPC_AREA 0x0b0b
Change protocol version to 5.
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 e11f36003..361277f27 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -908,6 +908,12 @@ class Being notfinal : public ActorSprite,
void enablePetAi()
{ mPetAi = true; }
+ int getAreaSize() const
+ { return mAreaSize; }
+
+ void setAreaSize(const int areaSize)
+ { mAreaSize = areaSize; }
+
protected:
/**
* Updates name's location.
@@ -1076,6 +1082,7 @@ class Being notfinal : public ActorSprite,
int mUsageCounter;
int mKarma;
int mManner;
+ int mAreaSize;
uint16_t mLook;
unsigned char mHairColor;
bool mErased;