23 #ifndef __CUSTOMSERVERS_H_ 24 #define __CUSTOMSERVERS_H_ 26 #include "serverapi/masterclient.h" 27 #include <QtContainerFwd> 72 static void decodeConfigEntries(
const QString& str, QList<CustomServerInfo>& outCustomServerInfoList);
77 bool hasSameServer(
const Server *otherServer)
const;
80 static void setServerPinned(
const CustomServerInfo &serverInfo,
bool pinned);
88 QList<ServerPtr> readConfig();
103 QList<ServerPtr> setServers(
const QList<CustomServerInfo>& serverDefs);
A representation of a server for a given game.
bool isSameServer(const CustomServerInfo &other) const
QByteArray createServerListRequest()
Produce contents of server list request packet that is sent to the master server. ...
const EnginePlugin * plugin() const
INI section representation.
Response readMasterResponse(const QByteArray &data)
Called to read and analyze the response from the MasterServer.
Abstract base for all MasterClients.