diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-20 23:48:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-20 23:48:46 +0300 |
commit | 68581ace3255ea4d8b0f0e5b33a33633a27b8e42 (patch) | |
tree | 498fbea8f60078e71b60cfb2dfec012563ca7aad /src/being/being.h | |
parent | 7a618aa66e0b5b7df3bccd1bf1df908f1b421629 (diff) | |
download | mv-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.h | 7 |
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; |