2019-01-26 20:33:37 -06:00
|
|
|
|
using SharedLibraryCore.RCon;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IRConParserConfiguration
|
|
|
|
|
{
|
2019-02-02 19:40:37 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the command format for console commands
|
|
|
|
|
/// </summary>
|
2019-01-26 20:33:37 -06:00
|
|
|
|
CommandPrefix CommandPrefixes { get; set; }
|
2019-02-02 19:40:37 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// optionally stores the game name type
|
|
|
|
|
/// </summary>
|
2019-01-26 20:33:37 -06:00
|
|
|
|
Server.Game GameName { get; set; }
|
2019-02-02 19:40:37 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the regex info for parsing get status response
|
|
|
|
|
/// </summary>
|
2019-01-27 18:41:54 -06:00
|
|
|
|
ParserRegex Status { get; set; }
|
2019-02-02 19:40:37 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the regex info for parsing get DVAR responses
|
|
|
|
|
/// </summary>
|
2019-02-01 19:49:25 -06:00
|
|
|
|
ParserRegex Dvar { get; set; }
|
2019-02-03 20:47:05 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// indicates if the application should wait for response from server
|
|
|
|
|
/// when executing a command
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool WaitForResponse { get; set; }
|
2019-01-26 20:33:37 -06:00
|
|
|
|
}
|
|
|
|
|
}
|