using SharedLibraryCore.RCon; using System.Threading.Tasks; namespace SharedLibraryCore.Interfaces { /// /// defines the capabilities of an RCon connection /// public interface IRConConnection { /// /// sends a query with the instance of the rcon connection /// /// type of RCon query to perform /// optional parameter list /// Task SendQueryAsync(StaticHelpers.QueryType type, string parameters = ""); /// /// sets the rcon parser configuration /// /// parser config void SetConfiguration(IRConParserConfiguration config); } }