mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-22 16:42:51 +01:00
12 lines
409 B
C#
12 lines
409 B
C#
using Phantom.Common.Data.Minecraft;
|
|
using Phantom.Common.Data.Replies;
|
|
|
|
namespace Phantom.Agent.Services.Instances.States;
|
|
|
|
interface IInstanceState {
|
|
void Initialize();
|
|
(IInstanceState, LaunchInstanceResult) Launch(InstanceContext context);
|
|
(IInstanceState, StopInstanceResult) Stop(MinecraftStopStrategy stopStrategy);
|
|
Task<bool> SendCommand(string command, CancellationToken cancellationToken);
|
|
}
|