tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IEngineManager.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.IO;
4using System.Threading;
5using System.Threading.Tasks;
6
9
11{
17 {
22
26 IReadOnlyList<EngineVersion> InstalledVersions { get; }
27
37 ValueTask ChangeVersion(
38 JobProgressReporter progressReporter,
39 EngineVersion version,
40 Stream? customVersionStream,
41 bool allowInstallation,
42 CancellationToken cancellationToken);
43
51 ValueTask DeleteVersion(JobProgressReporter progressReporter, EngineVersion version, CancellationToken cancellationToken);
52
60 ValueTask<IEngineExecutableLock> UseExecutables(
61 EngineVersion? requiredVersion,
62 string? trustDmbFullPath,
63 CancellationToken cancellationToken);
64 }
65}
Information about an engine installation.
ValueTask DeleteVersion(JobProgressReporter progressReporter, EngineVersion version, CancellationToken cancellationToken)
Deletes a given version from the disk.
IReadOnlyList< EngineVersion > InstalledVersions
The installed EngineVersions.
EngineVersion? ActiveVersion
The currently active EngineVersion.
ValueTask ChangeVersion(JobProgressReporter progressReporter, EngineVersion version, Stream? customVersionStream, bool allowInstallation, CancellationToken cancellationToken)
Change the active EngineVersion.
ValueTask< IEngineExecutableLock > UseExecutables(EngineVersion? requiredVersion, string? trustDmbFullPath, CancellationToken cancellationToken)
Lock the current installation's location and return a IEngineExecutableLock.
Represents a component meant to be started and stopped by its parent component.