summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-02-21 21:08:49 -0500
committerChuck Miller <shadowmil@gmail.com>2010-02-21 22:43:30 -0500
commitcf90688d139354eeba26d724495869ff9a6842ec (patch)
tree8fe8ea7c4a71d4bb8d08f74d28e863c03bbcf681 /src/being.h
parentc8b0d1e56f27c3141895d28b2fc768afffe7bb2d (diff)
downloadmana-cf90688d139354eeba26d724495869ff9a6842ec.tar.gz
mana-cf90688d139354eeba26d724495869ff9a6842ec.tar.bz2
mana-cf90688d139354eeba26d724495869ff9a6842ec.tar.xz
mana-cf90688d139354eeba26d724495869ff9a6842ec.zip
Handle packet 0x0195, and shows player's party name in a popup
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 2eadfb66..58fe4c77 100644
--- a/src/being.h
+++ b/src/being.h
@@ -240,6 +240,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
*/
static int getNumOfHairstyles()
@@ -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;
/**