summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 21:32:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 21:32:28 +0300
commitcefd145c44d73dd7c1d8739cba404418ccb74602 (patch)
treed54c9be187be569cb499771071188e710a6c9fef /src/localplayer.h
parentb2a0d0719989384171061edff8d720a9ab33467f (diff)
downloadmanaplus-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.h6
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;