diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-14 18:45:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-14 18:45:06 +0300 |
commit | 2bc5d7a1bfaf32f5df3121bbc4d07b886cf9ffc3 (patch) | |
tree | 3f673405aaa8ac090636e61a4f64c19fa759b2af /src/net | |
parent | 835af9b140c069f7b8fa581718081a68687d02d2 (diff) | |
download | mv-2bc5d7a1bfaf32f5df3121bbc4d07b886cf9ffc3.tar.gz mv-2bc5d7a1bfaf32f5df3121bbc4d07b886cf9ffc3.tar.bz2 mv-2bc5d7a1bfaf32f5df3121bbc4d07b886cf9ffc3.tar.xz mv-2bc5d7a1bfaf32f5df3121bbc4d07b886cf9ffc3.zip |
Add docs section for server in serverslist.xml
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/serverinfo.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index 70ac3b716..2deccb04f 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -53,6 +53,7 @@ class ServerInfo final std::vector<HostsGroup> updateHosts; std::vector<ServerUrlInfo> freeSources; std::vector<ServerUrlInfo> nonFreeSources; + std::vector<ServerUrlInfo> docs; uint16_t port; VersionString version; int packetVersion; @@ -75,6 +76,7 @@ class ServerInfo final updateHosts(), freeSources(), nonFreeSources(), + docs(), #ifdef TMWA_SUPPORT port(6901), #else // TMWA_SUPPORT @@ -104,6 +106,7 @@ class ServerInfo final updateHosts(info.updateHosts), freeSources(info.freeSources), nonFreeSources(info.nonFreeSources), + docs(info.docs), port(info.port), version(), packetVersion(info.packetVersion), @@ -133,6 +136,7 @@ class ServerInfo final updateHosts = info.updateHosts; freeSources = info.freeSources; nonFreeSources = info.nonFreeSources; + docs = info.docs; port = info.port; save = info.save; persistentIp = info.persistentIp; @@ -166,6 +170,7 @@ class ServerInfo final updateHosts.clear(); freeSources.clear(); nonFreeSources.clear(); + docs.clear(); version.first = 0; version.second.clear(); packetVersion = 0; |