23 #ifndef idF7CFB784_3591_4B2C_B5529AE7FBCC2568 24 #define idF7CFB784_3591_4B2C_B5529AE7FBCC2568 30 #include <QStringList> 59 const QString &connectPassword()
const;
60 void setConnectPassword(
const QString &pass);
62 QStringList &customParameters();
63 const QStringList &customParameters()
const;
64 void setCustomParameters(
const QStringList &customParameters);
70 QList<GameCVar> &cvars();
71 const QList<GameCVar> &cvars()
const;
72 void setCvars(
const QList<GameCVar> &cvars);
91 const QString &demoPath()
const;
92 void setDemoPath(
const QString &demoPath);
101 void setDemoRecord(
const GameDemo &demo);
104 QList<DMFlagsSection> &dmFlags();
105 const QList<DMFlagsSection> &dmFlags()
const;
107 const QString &email()
const;
108 void setEmail(
const QString &email);
113 const QString &executablePath()
const;
114 void setExecutablePath(
const QString &executablePath);
117 void setGameMode(
const GameMode &mode);
119 HostMode hostMode()
const;
120 void setHostMode(HostMode mode);
122 bool isBroadcastToLan()
const;
123 void setBroadcastToLan(
bool b);
125 bool isBroadcastToMaster()
const;
126 void setBroadcastToMaster(
bool b);
128 bool isRandomMapRotation()
const;
129 void setRandomMapRotation(
bool b);
134 const QString &ingamePassword()
const;
135 void setIngamePassword(
const QString &pass);
137 const QString &iwadPath()
const;
138 void setIwadPath(
const QString &iwadPath);
143 QString iwadName()
const;
148 const QString &loggingPath()
const;
149 void setLoggingPath(
const QString &iwadPath);
153 const QString &map()
const;
154 void setMap(
const QString &map);
159 const QStringList &mapList()
const;
160 void setMapList(
const QStringList &mapList);
162 int maxClients()
const;
163 void setMaxClients(
int num);
165 int maxPlayers()
const;
166 void setMaxPlayers(
int num);
172 int maxTotalClientSlots()
const;
176 const QString &motd()
const;
177 void setMotd(
const QString &motd);
179 const QString &name()
const;
180 void setName(
const QString &name);
193 QVariant option(
const QString &name)
const;
194 void setOption(
const QString &name,
const QVariant &value);
196 unsigned short port()
const;
197 void setPort(
unsigned short port);
199 QList<bool> &pwadsOptional();
200 const QList<bool> &pwadsOptional()
const;
201 void setPwadsOptional(
const QList<bool> &pwadsOptional);
203 QStringList &pwadsPaths();
204 const QStringList &pwadsPaths()
const;
205 void setPwadsPaths(
const QStringList &pwadsPaths);
210 QList<PWad> pwads()
const;
215 QStringList pwadsNames()
const;
220 const QString &rconPassword()
const;
221 void setRconPassword(
const QString &pass);
227 void setSkill(
int skill);
232 const QString &url()
const;
233 void setUrl(
const QString &url);
239 void setUpnp(
bool upnp);
247 quint16 upnpPort()
const;
248 void setUpnpPort(quint16 port);
Game parametrization data used when creating new games.
A group of DMFlag objects that can be safely OR'ed together to form a meaningful value.
Game mode representation.
A general game setting or variable (like fraglimit).