diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-26 12:39:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-26 12:39:39 +0300 |
commit | 5857f579da26ac21802679bce1777cd8337bd584 (patch) | |
tree | 455ab7a62d15f447bc3fec5388913c7886945682 /src/client.h | |
parent | 298d8e2ef42eb2c60f1a2c24cf1aeb131dcded09 (diff) | |
download | manaplus-5857f579da26ac21802679bce1777cd8337bd584.tar.gz manaplus-5857f579da26ac21802679bce1777cd8337bd584.tar.bz2 manaplus-5857f579da26ac21802679bce1777cd8337bd584.tar.xz manaplus-5857f579da26ac21802679bce1777cd8337bd584.zip |
add support for separate online list.
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 4 |
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; |