2019-01-26 21:33:37 -05:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
2020-01-15 19:43:52 -05:00
|
|
|
|
using System.Globalization;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
|
|
|
|
|
namespace IW4MAdmin.Application.EventParsers
|
|
|
|
|
{
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// generic implementation of the IEventParserConfiguration
|
|
|
|
|
/// allows script plugins to generate dynamic configurations
|
|
|
|
|
/// </summary>
|
|
|
|
|
sealed internal class DynamicEventParserConfiguration : IEventParserConfiguration
|
2019-01-26 21:33:37 -05:00
|
|
|
|
{
|
|
|
|
|
public string GameDirectory { get; set; }
|
2019-01-27 19:41:54 -05:00
|
|
|
|
public ParserRegex Say { get; set; } = new ParserRegex();
|
|
|
|
|
public ParserRegex Join { get; set; } = new ParserRegex();
|
|
|
|
|
public ParserRegex Quit { get; set; } = new ParserRegex();
|
|
|
|
|
public ParserRegex Kill { get; set; } = new ParserRegex();
|
|
|
|
|
public ParserRegex Damage { get; set; } = new ParserRegex();
|
|
|
|
|
public ParserRegex Action { get; set; } = new ParserRegex();
|
2020-01-15 19:43:52 -05:00
|
|
|
|
public NumberStyles GuidNumberStyle { get; set; } = NumberStyles.HexNumber;
|
2019-01-26 21:33:37 -05:00
|
|
|
|
}
|
|
|
|
|
}
|