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-04-13 02:32:30 -04:00
|
|
|
|
using SharedLibraryCore.Objects;
|
|
|
|
|
using SharedLibraryCore.RCon;
|
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);
|
|
|
|
|
Task<List<Player>> GetStatusAsync(Connection connection);
|
|
|
|
|
CommandPrefix GetCommandPrefixes();
|
2018-04-11 18:24:21 -04:00
|
|
|
|
}
|
|
|
|
|
}
|