tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IEngineInstaller.cs
Go to the documentation of this file.
1using System.Threading;
2using System.Threading.Tasks;
3
6
8{
13 {
21 IEngineInstallation CreateInstallation(EngineVersion version, string path, Task installationTask);
22
30 ValueTask<IEngineInstallationData> DownloadVersion(EngineVersion version, JobProgressReporter jobProgressReporter, CancellationToken cancellationToken);
31
40 ValueTask Install(EngineVersion version, string path, bool deploymentPipelineProcesses, CancellationToken cancellationToken);
41
49 ValueTask UpgradeInstallation(EngineVersion version, string path, CancellationToken cancellationToken);
50
58 ValueTask TrustDmbPath(EngineVersion version, string fullDmbPath, CancellationToken cancellationToken);
59
65 Task CleanCache(CancellationToken cancellationToken);
66 }
67}
Information about an engine installation.
For downloading and installing game engines for a given system.
IEngineInstallation CreateInstallation(EngineVersion version, string path, Task installationTask)
Creates an IEngineInstallation for a given version .
ValueTask< IEngineInstallationData > DownloadVersion(EngineVersion version, JobProgressReporter jobProgressReporter, CancellationToken cancellationToken)
Download a given engine version .
ValueTask UpgradeInstallation(EngineVersion version, string path, CancellationToken cancellationToken)
Does actions necessary to get upgrade a version installed by a previous version of TGS.
ValueTask Install(EngineVersion version, string path, bool deploymentPipelineProcesses, CancellationToken cancellationToken)
Does actions necessary to get an extracted installation working.
ValueTask TrustDmbPath(EngineVersion version, string fullDmbPath, CancellationToken cancellationToken)
Add a given fullDmbPath to the trusted DMBs list in BYOND's config.
Task CleanCache(CancellationToken cancellationToken)
Attempts to cleans the engine's cache folder for the system.