tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
DmbProviderBase.cs
Go to the documentation of this file.
1using System;
2using System.Threading.Tasks;
3
7
9{
12 {
14 public string DmbName => String.Concat(
17 {
18 EngineType.Byond => ".dmb",
19 EngineType.OpenDream => ".json",
20 _ => throw new InvalidOperationException($"Invalid EngineType: {EngineVersion.Engine}"),
21 });
22
24 public abstract string Directory { get; }
25
27 public abstract Models.CompileJob CompileJob { get; }
28
30 public abstract EngineVersion EngineVersion { get; }
31
33 public abstract ValueTask DisposeAsync();
34
36 public abstract void KeepAlive();
37 }
38}
Information about an engine installation.
string? DmeName
The .dme file used for compilation.
Definition CompileJob.cs:16
void KeepAlive()
Disposing the IDmbProvider won't cause a cleanup of the working directory.
Provides absolute paths to the latest compiled .dmbs.