summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-26 12:39:39 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-26 12:39:39 +0300
commit5857f579da26ac21802679bce1777cd8337bd584 (patch)
tree455ab7a62d15f447bc3fec5388913c7886945682 /src/client.h
parent298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09 (diff)
downloadmanaverse-5857f579da26ac21802679bce1777cd8337bd584.tar.gz
manaverse-5857f579da26ac21802679bce1777cd8337bd584.tar.bz2
manaverse-5857f579da26ac21802679bce1777cd8337bd584.tar.xz
manaverse-5857f579da26ac21802679bce1777cd8337bd584.zip
add support for separate online list.
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index d495521fc..e5bf5183e 100644
--- a/src/client.h
+++ b/src/client.h
@@ -284,6 +284,9 @@ public:
static std::string getServerName() A_WARN_UNUSED
{ return instance()->mServerName; }
+ static std::string getOnlineUrl() A_WARN_UNUSED
+ { return instance()->mOnlineListUrl; }
+
static void resize(const int width, const int height,
const bool always = false)
{ instance()->resizeVideo(width, height, always); }
@@ -383,6 +386,7 @@ private:
std::string mNpcsDir;
std::string mRootDir;
std::string mServerName;
+ std::string mOnlineListUrl;
ServerInfo mCurrentServer;