summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
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;