summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-12 19:54:41 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-12 21:12:24 +0300
commita366d82dad85389c9562fdfdd3a981894603fa07 (patch)
tree37a254b8e65d0324624f42520a7ed3943cab2e28 /src/being/being.h
parent03948f9bc58477100c61c11651290bee372dab5f (diff)
downloadmanaverse-a366d82dad85389c9562fdfdd3a981894603fa07.tar.gz
manaverse-a366d82dad85389c9562fdfdd3a981894603fa07.tar.bz2
manaverse-a366d82dad85389c9562fdfdd3a981894603fa07.tar.xz
manaverse-a366d82dad85389c9562fdfdd3a981894603fa07.zip
Move group id from localplayer to being.
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 3d21311b7..8bba7548d 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -1070,6 +1070,12 @@ class Being notfinal : public ActorSprite,
uint16_t getTeamId() const restrict2 noexcept2 A_WARN_UNUSED
{ return mTeamId; }
+ virtual void setGroupId(const int id)
+ { mGroupId = id; }
+
+ int getGroupId() const noexcept2 A_WARN_UNUSED
+ { return mGroupId; }
+
void serverRemove() restrict2 noexcept2;
void addCast(const int dstX,
@@ -1193,6 +1199,7 @@ class Being notfinal : public ActorSprite,
int mAttackSpeed; /**< Attack speed */
int mLevel;
+ int mGroupId;
int mAttackRange;
int mLastAttackX;
int mLastAttackY;