tgstation-server 6.1.2
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
39 ValueTask Install(EngineVersion version, string path, CancellationToken cancellationToken);
40
48 ValueTask UpgradeInstallation(EngineVersion version, string path, CancellationToken cancellationToken);
49
57 ValueTask TrustDmbPath(EngineVersion version, string fullDmbPath, CancellationToken cancellationToken);
58
64 Task CleanCache(CancellationToken cancellationToken);
65 }
66}
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 UpgradeInstallation(EngineVersion version, string path, CancellationToken cancellationToken)
Does actions necessary to get upgrade a version installed by a previous version of TGS.
ValueTask< IEngineInstallationData > DownloadVersion(EngineVersion version, JobProgressReporter? jobProgressReporter, CancellationToken cancellationToken)
Download a given engine version .
ValueTask Install(EngineVersion version, string path, 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.