Public Types |
| enum | HostMode { HOST,
OFFLINE,
DEMO
} |
Public Member Functions |
|
| GameRunner (const Server *server) |
| virtual bool | connectParameters (QStringList &args, PathFinder &pf, bool &iwadFound, const QString &connectPassword, const QString &wadTargetDirectory) |
| Message | createHostCommandLine (const HostInfo &hostInfo, CommandLineInfo &cmdLine, HostMode mode) |
| JoinError | createJoinCommandLine (CommandLineInfo &cli, const QString &connectPassword) |
| Message | host (const HostInfo &hostInfo, HostMode mode) |
| Message | runExecutable (const CommandLineInfo &cli, bool bWrapWithStandardServerConsole) |
Protected Member Functions |
|
virtual QString | argForConnect () const |
| | Command line parameter that specifies the target server's IP and port.
|
| virtual QString | argForConnectPassword () const |
| | Command line parameter that is used to specify connection password.
|
|
virtual QString | argForIwadLoading () const |
| | Command line parameter that is used to set IWAD.
|
|
virtual QString | argForPort () const |
| | Command line parameter that is used to set internet port for the game.
|
|
virtual QString | argForPwadLoading () const |
| | Command line parameter that is used to load a PWAD.
|
|
virtual QString | argForDemoPlayback () const |
| | Command line parameter for playing back a demo.
|
|
virtual QString | argForDemoRecord () const |
| | Command line parameter for recording a demo.
|
|
virtual QString | argForServerLaunch () const |
| | Command line parameter used to launch a server.
|
|
virtual Message | hostAppendIwad () |
|
virtual Message | hostAppendPwads () |
|
virtual Message | hostGetBinary (bool bOfflinePlay) |
|
virtual Message | hostGetWorkingDirectory (bool bOfflinePlay) |
| virtual void | hostDMFlags (QStringList &args, const DMFlags &dmFlags) const |
| virtual void | hostProperties (QStringList &args) const |
Protected Attributes |
|
CommandLineInfo * | currentCmdLine |
|
const HostInfo * | currentHostInfo |
|
const Server * | server |