summaryrefslogtreecommitdiff
path: root/src/being/beingcacheentry.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 17:30:45 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 17:30:45 +0300
commitc2aaab0b81248dea60472934c5be64c417376549 (patch)
tree62f45249705fdf870e1f9f88de102dd521199dae /src/being/beingcacheentry.h
parentb5b386c2de8c9b988ed19c979f0d4b1d7fcfdbd4 (diff)
downloadmv-c2aaab0b81248dea60472934c5be64c417376549.tar.gz
mv-c2aaab0b81248dea60472934c5be64c417376549.tar.bz2
mv-c2aaab0b81248dea60472934c5be64c417376549.tar.xz
mv-c2aaab0b81248dea60472934c5be64c417376549.zip
Add team id into beings cache.
Diffstat (limited to 'src/being/beingcacheentry.h')
-rw-r--r--src/being/beingcacheentry.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/being/beingcacheentry.h b/src/being/beingcacheentry.h
index 59b0054fe..c9ed59751 100644
--- a/src/being/beingcacheentry.h
+++ b/src/being/beingcacheentry.h
@@ -40,6 +40,7 @@ class BeingCacheEntry final
mPvpRank(0),
mTime(0),
mFlags(0),
+ mTeamId(0U),
mIsAdvanced(false)
{
}
@@ -114,6 +115,12 @@ class BeingCacheEntry final
void setFlags(const int flags)
{ mFlags = flags; }
+ uint16_t getTeamId() const
+ { return mTeamId; }
+
+ void setTeamId(const uint16_t teamId)
+ { mTeamId = teamId; }
+
protected:
std::string mName; /**< Name of character */
std::string mPartyName;
@@ -124,6 +131,7 @@ class BeingCacheEntry final
unsigned int mPvpRank;
int mTime;
int mFlags;
+ uint16_t mTeamId;
bool mIsAdvanced;
};