From 21277ad5c877d90680b757b058a3759e8f8b5559 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Aug 2011 19:07:15 +0300 Subject: Add auto adjust perfomance ability. --- src/localplayer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localplayer.h') diff --git a/src/localplayer.h b/src/localplayer.h index df2a61b03..ebc347ce0 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -331,9 +331,15 @@ class LocalPlayer : public Being, public ActorSpriteListener, void setAway(const std::string &message); + bool getAway() + { return mAwayMode; } + void setHalfAway(bool n) { mInactive = n; } + bool getHalfAway() + { return mInactive; } + void afkRespond(ChatTab *tab, const std::string &nick); bool navigateTo(int x, int y); -- cgit v1.2.3-60-g2f50