summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-03 17:31:26 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-03 17:31:26 +0300
commitb592850c224965729dfb68fcdce486346ab8301a (patch)
treec18fd7dd1fc92428c6452ac31af6fe864a10c8af /src/net
parentcb6899fa0d8488e7e380179cb2d4bde763667d71 (diff)
downloadmanaplus-b592850c224965729dfb68fcdce486346ab8301a.tar.gz
manaplus-b592850c224965729dfb68fcdce486346ab8301a.tar.bz2
manaplus-b592850c224965729dfb68fcdce486346ab8301a.tar.xz
manaplus-b592850c224965729dfb68fcdce486346ab8301a.zip
Add support for update server mirrors.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/serverinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h
index b2cd652bb..49497d736 100644
--- a/src/net/serverinfo.h
+++ b/src/net/serverinfo.h
@@ -53,6 +53,7 @@ public:
std::string registerUrl;
std::string onlineListUrl;
std::string supportUrl;
+ std::vector<std::string> updateMirrors;
uint16_t port;
VersionString version;
bool save;
@@ -67,6 +68,7 @@ public:
registerUrl(),
onlineListUrl(),
supportUrl(),
+ updateMirrors(),
port(6901),
version(),
save(false),
@@ -84,6 +86,7 @@ public:
registerUrl(info.registerUrl),
onlineListUrl(info.onlineListUrl),
supportUrl(info.supportUrl),
+ updateMirrors(info.updateMirrors),
port(info.port),
version(),
save(info.save),
@@ -109,6 +112,7 @@ public:
registerUrl.clear();
onlineListUrl.clear();
supportUrl.clear();
+ updateMirrors.clear();
version.first = 0;
version.second.clear();
save = false;