1using System.Collections.Generic;
3using System.Threading.Tasks;
5using Microsoft.Extensions.Logging;
48 IReadOnlyDictionary<string, string> parameters,
61 public ValueTask
StopServerProcess(ILogger logger,
IProcess process,
string accessIdentifier, ushort port, CancellationToken cancellationToken)
70 public ValueTask<Dictionary<string, string>?>
LoadEnv(ILogger logger,
bool forCompiler, CancellationToken cancellationToken)
71 =>
Instance.LoadEnv(logger, forCompiler, cancellationToken);
Information about an engine installation.
Launch settings for DreamDaemon.
string CompilerExePath
The full path to the dm/DreamMaker executable.
ValueTask< Dictionary< string, string >?> LoadEnv(ILogger logger, bool forCompiler, CancellationToken cancellationToken)
Loads the environment settings for either the server or compiler.A ValueTask<TResult> resulting in th...
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 .The formatted arguments ...
string FormatCompilerArguments(string dmePath, string? additionalArguments)
Return the command line arguments for compiling a given dmePath if compilation is necessary....
string ServerExePath
The full path to the game server executable.
void DoNotDeleteThisSession()
Call if, during a detach, this version should not be deleted.
bool PromptsForNetworkAccess
If ServerExePath may create network prompts.
bool HasStandardOutput
If ServerExePath supports being run as a command-line application and outputs log information to be c...
Task InstallationTask
The Task that completes when the BYOND version finished installing.
ValueTask StopServerProcess(ILogger logger, IProcess process, string accessIdentifier, ushort port, CancellationToken cancellationToken)
Kills a given engine server process .A ValueTask representing the running operation.
EngineVersion Version
The EngineVersion of the IEngineInstallation.
bool UseDotnetDump
If dotnet-dump should be used to create process dumps for this installation.
Class used for counting references with ReferenceCountingContainer<TWrapped, TReference>.
void DangerousDropReference()
Prevents the aquired reference from being dropped when Dispose is called.
Provides absolute paths to the latest compiled .dmbs.
Represents usage of the two primary BYOND server executables.
Abstraction over a global::System.Diagnostics.Process.