diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-30 21:32:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-30 21:32:28 +0300 |
commit | cefd145c44d73dd7c1d8739cba404418ccb74602 (patch) | |
tree | d54c9be187be569cb499771071188e710a6c9fef /src/localplayer.h | |
parent | b2a0d0719989384171061edff8d720a9ab33467f (diff) | |
download | manaplus-cefd145c44d73dd7c1d8739cba404418ccb74602.tar.gz manaplus-cefd145c44d73dd7c1d8739cba404418ccb74602.tar.bz2 manaplus-cefd145c44d73dd7c1d8739cba404418ccb74602.tar.xz manaplus-cefd145c44d73dd7c1d8739cba404418ccb74602.zip |
Add pseudo away chat command.
Command: /pseudoaway [test]
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index a35c42de7..fc8c3339b 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -327,9 +327,14 @@ class LocalPlayer : public Being, public ActorSpriteListener, void setAway(const std::string &message); + void setPseudoAway(const std::string &message); + bool getAway() { return mAwayMode; } + bool getPseudoAway() + { return mPseudoAwayMode; } + void setHalfAway(bool n) { mInactive = n; } @@ -568,6 +573,7 @@ class LocalPlayer : public Being, public ActorSpriteListener, int mPingTime; int mAfkTime; bool mAwayMode; + bool mPseudoAwayMode; bool mShowNavigePath; bool mIsServerBuggy; |