2018-04-13 02:32:30 -04:00
|
|
|
|
using System.Collections.Generic;
|
2018-04-11 18:24:21 -04:00
|
|
|
|
using System.Threading.Tasks;
|
2018-11-05 22:01:29 -05:00
|
|
|
|
using SharedLibraryCore.Database.Models;
|
2018-04-13 02:32:30 -04:00
|
|
|
|
using SharedLibraryCore.Objects;
|
|
|
|
|
using SharedLibraryCore.RCon;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
using static SharedLibraryCore.Server;
|
2018-04-11 18:24:21 -04:00
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IRConParser
|
|
|
|
|
{
|
2018-04-13 02:32:30 -04:00
|
|
|
|
Task<Dvar<T>> GetDvarAsync<T>(Connection connection, string dvarName);
|
|
|
|
|
Task<bool> SetDvarAsync(Connection connection, string dvarName, object dvarValue);
|
|
|
|
|
Task<string[]> ExecuteCommandAsync(Connection connection, string command);
|
2018-11-05 22:01:29 -05:00
|
|
|
|
Task<List<EFClient>> GetStatusAsync(Connection connection);
|
2019-01-26 21:33:37 -05:00
|
|
|
|
IRConParserConfiguration Configuration { get; set; }
|
2018-04-11 18:24:21 -04:00
|
|
|
|
}
|
|
|
|
|
}
|