IW4M-Admin/Application/RconParsers/DynamicRConParserConfiguration.cs

20 lines
770 B
C#
Raw Normal View History

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();
2019-11-18 15:02:35 -05:00
public ParserRegex MapStatus { get; set; } = new ParserRegex();
2019-02-01 20:49:25 -05:00
public ParserRegex Dvar { get; set; } = new ParserRegex();
public string ServerNotRunningResponse { get; set; }
2019-02-03 21:47:05 -05:00
public bool WaitForResponse { get; set; } = true;
}
}