Recreated plugin with new project template. Started implementing server system daemon
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
namespace MoonlightServers.Daemon.ServerSystem.Abstractions;
|
||||
|
||||
public interface IRuntimeEnvironment : IAsyncDisposable
|
||||
{
|
||||
public IRuntimeStatistics Statistics { get; }
|
||||
public IRuntimeConsole Console { get; }
|
||||
|
||||
public event Func<Task>? OnExited;
|
||||
|
||||
public Task<bool> IsRunningAsync();
|
||||
|
||||
public Task StartAsync();
|
||||
public Task KillAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user