2020-01-13 17:51:16 -05:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
using SharedLibraryCore.RCon;
|
2020-01-15 19:43:52 -05:00
|
|
|
|
using System.Globalization;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
|
|
|
|
|
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-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();
|
2020-01-13 17:51:16 -05:00
|
|
|
|
public string ServerNotRunningResponse { get; set; }
|
2019-02-03 21:47:05 -05:00
|
|
|
|
public bool WaitForResponse { get; set; } = true;
|
2020-01-15 19:43:52 -05:00
|
|
|
|
public NumberStyles GuidNumberStyle { get; set; } = NumberStyles.HexNumber;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
}
|
|
|
|
|
}
|