From 869cb1c660310140f02a0b3804e02a2f3c4a0326 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 13 Feb 2018 05:24:46 +0300 Subject: Add support for show clan badge. But for now clan unset for players. --- src/being/being.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/being/being.h') 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; /** -- cgit v1.2.3-70-g09d2