summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-13 05:24:46 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-13 05:24:46 +0300
commit869cb1c660310140f02a0b3804e02a2f3c4a0326 (patch)
tree2f0df222ebf1292d17aba1f8b0fe66866a18b330 /src/being/being.h
parent3a4d8f947b0358c636f983b4248777e8371678dd (diff)
downloadManaVerse-869cb1c660310140f02a0b3804e02a2f3c4a0326.tar.gz
ManaVerse-869cb1c660310140f02a0b3804e02a2f3c4a0326.tar.bz2
ManaVerse-869cb1c660310140f02a0b3804e02a2f3c4a0326.tar.xz
ManaVerse-869cb1c660310140f02a0b3804e02a2f3c4a0326.zip
Add support for show clan badge.
But for now clan unset for players.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 4e672ef52..fe8bb4c6a 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -259,6 +259,10 @@ class Being notfinal : public ActorSprite,
A_WARN_UNUSED
{ return mGuildName; }
+ const std::string &getClanName() const restrict2 noexcept2
+ A_WARN_UNUSED
+ { return mClanName; }
+
/**
* Sets the name of the primary guild the being is in. Shown in
* BeingPopup (eventually).
@@ -267,6 +271,8 @@ class Being notfinal : public ActorSprite,
void setGuildPos(const std::string &restrict pos) restrict2;
+ void setClanName(const std::string &restrict name) restrict2;
+
/**
* Adds a guild to the being.
*/
@@ -1055,6 +1061,8 @@ class Being notfinal : public ActorSprite,
void showGuildBadge(const bool show) restrict2;
+ void showClanBadge(const bool show) restrict2;
+
void showGmBadge(const bool show) restrict2;
void showPartyBadge(const bool show) restrict2;
@@ -1178,6 +1186,7 @@ class Being notfinal : public ActorSprite,
std::string mRaceName;
std::string mPartyName;
std::string mGuildName;
+ std::string mClanName;
std::string mSpeech;
/**