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);
91 QList<ServerPtr> readConfig();
106 QList<ServerPtr> setServers(
const QList<CustomServerInfo> &serverDefs);
Response readMasterResponse(const QByteArray &data) override
Called to read and analyze the response from the MasterServer.
void refreshStarts() override
A representation of a server for a given game.
bool isSameServer(const CustomServerInfo &other) const
const EnginePlugin * plugin() const override
INI section representation.
Abstract base for all MasterClients.
QByteArray createServerListRequest() override
Produce contents of server list request packet that is sent to the master server. ...