2019-01-26 21:33:37 -05:00
|
|
|
|
using SharedLibraryCore;
|
|
|
|
|
using SharedLibraryCore.Interfaces;
|
|
|
|
|
using SharedLibraryCore.RCon;
|
|
|
|
|
|
|
|
|
|
namespace IW4MAdmin.Application.RconParsers
|
|
|
|
|
{
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// generic implementation of the IRConParserConfiguration
|
|
|
|
|
/// allows script plugins to generate dynamic RCon configurations
|
|
|
|
|
/// </summary>
|
|
|
|
|
sealed internal class DynamicRConParserConfiguration : IRConParserConfiguration
|
2019-01-26 21:33:37 -05:00
|
|
|
|
{
|
|
|
|
|
public CommandPrefix CommandPrefixes { get; set; }
|
2019-01-27 19:41:54 -05:00
|
|
|
|
public ParserRegex Status { get; set; } = new ParserRegex();
|
2019-02-01 20:49:25 -05:00
|
|
|
|
public ParserRegex Dvar { get; set; } = new ParserRegex();
|
2019-02-03 21:47:05 -05:00
|
|
|
|
public bool WaitForResponse { get; set; } = true;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
}
|
|
|
|
|
}
|