1using System.Collections.Generic;
3using System.Threading.Tasks;
5using Microsoft.Extensions.Logging;
69 IReadOnlyDictionary<string, string> parameters,
90 ValueTask
StopServerProcess(ILogger logger,
IProcess process,
string accessIdentifier, ushort port, CancellationToken cancellationToken);
99 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 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 ...
string FormatServerArguments(IDmbProvider dmbProvider, IReadOnlyDictionary< string, string > parameters, DreamDaemonLaunchParameters launchParameters, string? logFilePath)
Return the command line arguments for launching with given launchParameters .
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.