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