ed83c4c011
fix bug with unbanned players still showing as banned via lock icon move player based stuff into client class finally renamed Player to EFClient via partial class don't try to run this build because it's in between stages
18 lines
625 B
C#
18 lines
625 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using SharedLibraryCore.Database.Models;
|
|
using SharedLibraryCore.Objects;
|
|
using SharedLibraryCore.RCon;
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
{
|
|
public interface IRConParser
|
|
{
|
|
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<EFClient>> GetStatusAsync(Connection connection);
|
|
CommandPrefix GetCommandPrefixes();
|
|
}
|
|
}
|