summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-28 22:18:17 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-28 22:18:17 +0300
commit8be650bff5c7b6d5795cf4f1f76b7ee436c155f5 (patch)
tree570d417635602d0fbe230616cbb175ffeb84e874 /src/being/being.h
parent15b9391da7ba4c307311d7dae6abc81a4b2bf25c (diff)
downloadplus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.gz
plus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.bz2
plus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.tar.xz
plus-8be650bff5c7b6d5795cf4f1f76b7ee436c155f5.zip
Add extended name to beings (raw server name).
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h
index ed6a17fac..8c518cf26 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -211,6 +211,9 @@ class Being notfinal : public ActorSprite,
const std::string &getName() const restrict2 noexcept A_WARN_UNUSED
{ return mName; }
+ const std::string &getExtName() const restrict2 noexcept A_WARN_UNUSED
+ { return mExtName; }
+
/**
* Sets the name for the being.
*
@@ -1019,7 +1022,8 @@ class Being notfinal : public ActorSprite,
AnimatedSprite *restrict mBadges[BadgeIndex::BadgeIndexSize];
std::string mSpriteAction;
- std::string mName; /**< Name of character */
+ std::string mName; /**< Name of being */
+ std::string mExtName; /**< Full name of being */
std::string mRaceName;
std::string mPartyName;
std::string mGuildName;