summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/being.h b/src/being.h
index 652b8a889..ddcef1930 100644
--- a/src/being.h
+++ b/src/being.h
@@ -725,8 +725,21 @@ class Being : public ActorSprite, public ConfigListener
std::string getGenderSignWithSpace() const;
+ void updateComment();
+
+ std::string getComment()
+ { return mComment; }
+
+ void setComment(std::string n)
+ { mComment = n; }
+
static void clearCache();
+ static std::string loadComment(const std::string &name);
+
+ static void saveComment(const std::string &name,
+ const std::string &comment);
+
protected:
/**
* Sets the new path for this being.
@@ -858,6 +871,8 @@ class Being : public ActorSprite, public ConfigListener
unsigned int mPvpRank;
int *mSpriteRemap;
int *mSpriteHide;
+ std::string mComment;
+ bool mGotComment;
};
extern std::list<BeingCacheEntry*> beingInfoCache;