diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-28 22:24:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-28 22:24:00 +0300 |
commit | 880389de48e669ba75c86f1530b7e491e40e9325 (patch) | |
tree | 95097f1a97765bdb027a003e75281a7e57e4e2f8 | |
parent | 74ecebf0f30c3d13368c33cdae9b8952966d8c8b (diff) | |
download | manaplus-880389de48e669ba75c86f1530b7e491e40e9325.tar.gz manaplus-880389de48e669ba75c86f1530b7e491e40e9325.tar.bz2 manaplus-880389de48e669ba75c86f1530b7e491e40e9325.tar.xz manaplus-880389de48e669ba75c86f1530b7e491e40e9325.zip |
move bools in beingcacheentry.
-rw-r--r-- | src/beingcacheentry.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/beingcacheentry.h b/src/beingcacheentry.h index fb050ddd4..d342b1c8d 100644 --- a/src/beingcacheentry.h +++ b/src/beingcacheentry.h @@ -29,16 +29,16 @@ class BeingCacheEntry final { public: explicit BeingCacheEntry(const int id): - mId(id), mName(), mPartyName(), mGuildName(), + mIp(), + mId(id), mLevel(0), mPvpRank(0), mTime(0), - mIp(), - mIsAdvanced(false), - mFlags(0) + mFlags(0), + mIsAdvanced(false) { } @@ -113,16 +113,16 @@ class BeingCacheEntry final { mFlags = flags; } protected: - int mId; /**< Unique sprite id */ std::string mName; /**< Name of character */ std::string mPartyName; std::string mGuildName; + std::string mIp; + int mId; /**< Unique sprite id */ int mLevel; unsigned int mPvpRank; int mTime; - std::string mIp; - bool mIsAdvanced; int mFlags; + bool mIsAdvanced; }; #endif // BEINGCACHEENTRY_H |