From cf90688d139354eeba26d724495869ff9a6842ec Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Sun, 21 Feb 2010 21:08:49 -0500 Subject: Handle packet 0x0195, and shows player's party name in a popup --- src/being.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/being.h') diff --git a/src/being.h b/src/being.h index 2eadfb66..58fe4c77 100644 --- a/src/being.h +++ b/src/being.h @@ -239,6 +239,17 @@ class Being : public Sprite, public ConfigListener virtual void setShowName(bool doShowName); + /** + * Following are set from the server (mainly for players) + */ + void setPartyName(const std::string &name) { mPartyName = name; } + + const std::string &getPartyName() const { return mPartyName; } + + virtual void setGuildName(const std::string &name); + + virtual void setGuildPos(const std::string &pos); + /** * Get the number of hairstyles implemented */ @@ -602,6 +613,7 @@ class Being : public Sprite, public ConfigListener Uint8 mSpriteDirection; /**< Facing direction */ Map *mMap; /**< Map on which this being resides */ std::string mName; /**< Name of character */ + std::string mPartyName; MapSprite mMapSprite; /** -- cgit v1.2.3-70-g09d2