From 5857f579da26ac21802679bce1777cd8337bd584 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 26 Apr 2013 12:39:39 +0300 Subject: add support for separate online list. --- src/client.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client.h') 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; -- cgit v1.2.3-60-g2f50