deximy_L4d2Panel/L4d2PanelBackend/L4d2PanelBackend.API/Services/IProcessService.cs
using L4d2PanelBackend.API.ViewModels;

namespace L4d2PanelBackend.API.Services
{
    public interface IProcessService
    {
        public bool is_running { get; }

        public Task<Guid> RunServer(string additional_params, Action<string> callback);

        public void ExecCommand(string command);

        public Task<bool> StopServer();

        public Task<List<Guid>> GetProcessStateId(int count);

        public Task<ServerProcessState> GetProcessState(Guid id);

        public Task<List<ServerProcessState>> GetProcessState(List<Guid> id_list);
    }
}
