2022-03-28 19:05:18 -04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Globalization;
|
|
|
|
|
using SharedLibraryCore.Database.Models;
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
2019-01-26 21:33:37 -05:00
|
|
|
|
{
|
|
|
|
|
public interface IEventParserConfiguration
|
|
|
|
|
{
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the fs_game directory (this folder may vary between different clients)
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-26 21:33:37 -05:00
|
|
|
|
string GameDirectory { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for a say event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 17:40:08 -05:00
|
|
|
|
ParserRegex Say { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2022-11-03 20:58:29 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the special ASCII value used by CoD games that prevents the text in the chat from being localized
|
|
|
|
|
/// </summary>
|
|
|
|
|
string LocalizeText { get; set; }
|
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for a join event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 17:40:08 -05:00
|
|
|
|
ParserRegex Join { get; set; }
|
2022-03-12 14:38:33 -05:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// stores the regex information for a join team event printed in the game log
|
|
|
|
|
/// </summary>
|
|
|
|
|
ParserRegex JoinTeam { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for a quit event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 17:40:08 -05:00
|
|
|
|
ParserRegex Quit { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for a kill event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 17:40:08 -05:00
|
|
|
|
ParserRegex Kill { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for a damage event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 17:40:08 -05:00
|
|
|
|
ParserRegex Damage { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for an action event printed in the game log
|
2019-02-02 20:40:37 -05:00
|
|
|
|
/// </summary>
|
2019-01-27 19:41:54 -05:00
|
|
|
|
ParserRegex Action { get; set; }
|
2020-01-15 19:43:52 -05:00
|
|
|
|
|
2020-04-01 15:11:56 -04:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// stores the regex information for the time prefix in game log
|
2020-04-01 15:11:56 -04:00
|
|
|
|
/// </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; }
|
|
|
|
|
|
2020-01-15 19:43:52 -05:00
|
|
|
|
/// <summary>
|
2022-01-26 11:32:16 -05:00
|
|
|
|
/// indicates the format expected for parsed guids
|
2020-01-15 19:43:52 -05:00
|
|
|
|
/// </summary>
|
|
|
|
|
NumberStyles GuidNumberStyle { get; set; }
|
2022-03-28 19:05:18 -04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// maps the team code name to a type type eg "CT" -> Allies
|
|
|
|
|
/// </summary>
|
|
|
|
|
Dictionary<string, EFClient.TeamType> TeamMapping { get; }
|
2019-01-26 21:33:37 -05:00
|
|
|
|
}
|
2022-03-12 14:38:33 -05:00
|
|
|
|
}
|