IW4M-Admin/Application/RconParsers/DynamicRConParserConfiguration.cs
RaidMax cd387ca08b implement feedback from issue #91 when sv_running is off
clean up a trying to abort thread which doesn't actually work with .net core
don't log event tasks cancelled as error, because it's not
2020-01-13 16:51:16 -06:00

20 lines
770 B
C#

using SharedLibraryCore.Interfaces;
using SharedLibraryCore.RCon;
namespace IW4MAdmin.Application.RconParsers
{
/// <summary>
/// generic implementation of the IRConParserConfiguration
/// allows script plugins to generate dynamic RCon configurations
/// </summary>
sealed internal class DynamicRConParserConfiguration : IRConParserConfiguration
{
public CommandPrefix CommandPrefixes { get; set; }
public ParserRegex Status { get; set; } = new ParserRegex();
public ParserRegex MapStatus { get; set; } = new ParserRegex();
public ParserRegex Dvar { get; set; } = new ParserRegex();
public string ServerNotRunningResponse { get; set; }
public bool WaitForResponse { get; set; } = true;
}
}