2019-01-26 21:33:37 -05:00
|
|
|
|
using SharedLibraryCore.RCon;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IRConParserConfiguration
|
|
|
|
|
{
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the command format for console commands
|
|
|
|
|
/// </summary>
|
2019-01-26 21:33:37 -05:00
|
|
|
|
CommandPrefix CommandPrefixes { get; set; }
|
2019-11-18 15:02:35 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the regex info for parsing get status response
|
|
|
|
|
/// </summary>
|
2019-01-27 19:41:54 -05:00
|
|
|
|
ParserRegex Status { get; set; }
|
2019-11-18 15:02:35 -05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores regex info for parsing the map line from rcon status response
|
|
|
|
|
/// </summary>
|
|
|
|
|
ParserRegex MapStatus { get; set; }
|
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the regex info for parsing get DVAR responses
|
|
|
|
|
/// </summary>
|
2019-02-01 20:49:25 -05:00
|
|
|
|
ParserRegex Dvar { get; set; }
|
2019-11-18 15:02:35 -05:00
|
|
|
|
|
2020-01-13 17:51:16 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Specifies the expected response message from rcon when the server is not running
|
|
|
|
|
/// </summary>
|
|
|
|
|
string ServerNotRunningResponse { get; set; }
|
|
|
|
|
|
2019-02-03 21:47:05 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// indicates if the application should wait for response from server
|
|
|
|
|
/// when executing a command
|
|
|
|
|
/// </summary>
|
|
|
|
|
bool WaitForResponse { get; set; }
|
2019-01-26 21:33:37 -05:00
|
|
|
|
}
|
|
|
|
|
}
|