diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-03 17:31:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-03 17:31:26 +0300 |
commit | b592850c224965729dfb68fcdce486346ab8301a (patch) | |
tree | c18fd7dd1fc92428c6452ac31af6fe864a10c8af /src/net | |
parent | cb6899fa0d8488e7e380179cb2d4bde763667d71 (diff) | |
download | manaverse-b592850c224965729dfb68fcdce486346ab8301a.tar.gz manaverse-b592850c224965729dfb68fcdce486346ab8301a.tar.bz2 manaverse-b592850c224965729dfb68fcdce486346ab8301a.tar.xz manaverse-b592850c224965729dfb68fcdce486346ab8301a.zip |
Add support for update server mirrors.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/serverinfo.h | 4 |
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; |