tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IByondManager.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
8
10{
16 {
20 Version ActiveVersion { get; }
21
25 IReadOnlyList<Version> InstalledVersions { get; }
26
36 Task ChangeVersion(JobProgressReporter progressReporter, Version version, Stream customVersionStream, bool allowInstallation, CancellationToken cancellationToken);
37
45 Task DeleteVersion(JobProgressReporter progressReporter, Version version, CancellationToken cancellationToken);
46
54 Task<IByondExecutableLock> UseExecutables(
55 Version requiredVersion,
56 string trustDmbFullPath,
57 CancellationToken cancellationToken);
58 }
59}
For managing the BYOND installation.
Version ActiveVersion
The currently active BYOND version.
Task ChangeVersion(JobProgressReporter progressReporter, Version version, Stream customVersionStream, bool allowInstallation, CancellationToken cancellationToken)
Change the active BYOND version.
Task< IByondExecutableLock > UseExecutables(Version requiredVersion, string trustDmbFullPath, CancellationToken cancellationToken)
Lock the current installation's location and return a IByondExecutableLock.
Task DeleteVersion(JobProgressReporter progressReporter, Version version, CancellationToken cancellationToken)
Deletes a given BYOND version from the disk.
IReadOnlyList< Version > InstalledVersions
The installed BYOND versions.
Represents a component meant to be started and stopped by its parent component.