1using System.Collections.Generic;
3using System.Threading.Tasks;
5using Microsoft.Extensions.Logging;
70 IReadOnlyDictionary<string, string>? parameters,
72 string accessIdentifier,
92 ValueTask
StopServerProcess(ILogger logger,
IProcess process,
string accessIdentifier, ushort port, CancellationToken cancellationToken);
101 ValueTask<Dictionary<string, string>?>
LoadEnv(ILogger logger,
bool forCompiler, CancellationToken cancellationToken);
Information about an engine installation.
Launch settings for DreamDaemon.
Provides absolute paths to the latest compiled .dmbs.
Represents a BYOND installation.
string ServerExePath
The full path to the game server executable.
string FormatServerArguments(IDmbProvider dmbProvider, IReadOnlyDictionary< string, string >? parameters, DreamDaemonLaunchParameters launchParameters, string accessIdentifier, string? logFilePath)
Return the command line arguments for launching with given launchParameters .
string FormatCompilerArguments(string dmePath, string? additionalArguments)
Return the command line arguments for compiling a given dmePath if compilation is necessary.
ValueTask< Dictionary< string, string >?> LoadEnv(ILogger logger, bool forCompiler, CancellationToken cancellationToken)
Loads the environment settings for either the server or compiler.
bool PromptsForNetworkAccess
If ServerExePath may create network prompts.
Task InstallationTask
The Task that completes when the BYOND version finished installing.
bool PreferFileLogging
If HasStandardOutput is set, this indicates that the engine server has good file logging that should ...
EngineVersion Version
The EngineVersion of the IEngineInstallation.
bool UseDotnetDump
If dotnet-dump should be used to create process dumps for this installation.
ValueTask StopServerProcess(ILogger logger, IProcess process, string accessIdentifier, ushort port, CancellationToken cancellationToken)
Kills a given engine server process .
string CompilerExePath
The full path to the dm/DreamMaker executable.
bool HasStandardOutput
If ServerExePath supports being run as a command-line application and outputs log information to be c...
Abstraction over a global::System.Diagnostics.Process.