IW4M-Admin/SharedLibraryCore/Interfaces/IEventParserConfiguration.cs

75 lines
2.4 KiB
C#
Raw Normal View History

using System.Collections.Generic;
using System.Globalization;
using SharedLibraryCore.Database.Models;
namespace SharedLibraryCore.Interfaces
{
public interface IEventParserConfiguration
{
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the fs_game directory (this folder may vary between different clients)
/// </summary>
string GameDirectory { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for a say event printed in the game log
/// </summary>
2019-01-27 17:40:08 -05:00
ParserRegex Say { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for a join event printed in the game log
/// </summary>
2019-01-27 17:40:08 -05:00
ParserRegex Join { get; set; }
/// <summary>
/// stores the regex information for a join team event printed in the game log
/// </summary>
ParserRegex JoinTeam { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for a quit event printed in the game log
/// </summary>
2019-01-27 17:40:08 -05:00
ParserRegex Quit { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for a kill event printed in the game log
/// </summary>
2019-01-27 17:40:08 -05:00
ParserRegex Kill { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for a damage event printed in the game log
/// </summary>
2019-01-27 17:40:08 -05:00
ParserRegex Damage { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for an action event printed in the game log
/// </summary>
ParserRegex Action { get; set; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for the time prefix in game log
/// </summary>
ParserRegex Time { get; set; }
2021-06-03 11:51:03 -04:00
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for the map change game log
2021-06-03 11:51:03 -04:00
/// </summary>
ParserRegex MapChange { get; }
2022-01-26 11:32:16 -05:00
2021-06-03 11:51:03 -04:00
/// <summary>
2022-01-26 11:32:16 -05:00
/// stores the regex information for the map end game log
2021-06-03 11:51:03 -04:00
/// </summary>
ParserRegex MapEnd { get; }
/// <summary>
2022-01-26 11:32:16 -05:00
/// indicates the format expected for parsed guids
/// </summary>
NumberStyles GuidNumberStyle { get; set; }
/// <summary>
/// maps the team code name to a type type eg "CT" -> Allies
/// </summary>
Dictionary<string, EFClient.TeamType> TeamMapping { get; }
}
}