2019-01-26 20:33:37 -06:00
|
|
|
|
using SharedLibraryCore.Interfaces;
|
|
|
|
|
|
|
|
|
|
namespace IW4MAdmin.Application.EventParsers
|
|
|
|
|
{
|
2019-02-02 19:40:37 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// generic implementation of the IEventParserConfiguration
|
|
|
|
|
/// allows script plugins to generate dynamic configurations
|
|
|
|
|
/// </summary>
|
|
|
|
|
sealed internal class DynamicEventParserConfiguration : IEventParserConfiguration
|
2019-01-26 20:33:37 -06:00
|
|
|
|
{
|
|
|
|
|
public string GameDirectory { get; set; }
|
2019-01-27 18:41:54 -06: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();
|
2019-01-26 20:33:37 -06:00
|
|
|
|
}
|
|
|
|
|
}
|