fix issue with PT6 guid parsing in log file

This commit is contained in:
RaidMax
2020-01-15 18:43:52 -06:00
parent fa8dbe7988
commit 7e3f632399
10 changed files with 51 additions and 23 deletions

View File

@ -1,4 +1,6 @@
namespace SharedLibraryCore.Interfaces
using System.Globalization;
namespace SharedLibraryCore.Interfaces
{
public interface IEventParserConfiguration
{
@ -6,29 +8,40 @@
/// stores the fs_game directory (this folder may vary between different clients)
/// </summary>
string GameDirectory { get; set; }
/// <summary>
/// stores the regex information for a say event printed in the game log
/// </summary>
ParserRegex Say { get; set; }
/// <summary>
/// stores the regex information for a join event printed in the game log
/// </summary>
ParserRegex Join { get; set; }
/// <summary>
/// stores the regex information for a quit event printed in the game log
/// </summary>
ParserRegex Quit { get; set; }
/// <summary>
/// stores the regex information for a kill event printed in the game log
/// </summary>
ParserRegex Kill { get; set; }
/// <summary>
/// stores the regex information for a damage event printed in the game log
/// </summary>
ParserRegex Damage { get; set; }
/// <summary>
/// stores the regex information for an action event printed in the game log
/// </summary>
ParserRegex Action { get; set; }
/// <summary>
/// indicates the format expected for parsed guids
/// </summary>
NumberStyles GuidNumberStyle { get; set; }
}
}

View File

@ -1,4 +1,5 @@
using SharedLibraryCore.RCon;
using System.Globalization;
namespace SharedLibraryCore.Interfaces
{
@ -34,5 +35,10 @@ namespace SharedLibraryCore.Interfaces
/// when executing a command
/// </summary>
bool WaitForResponse { get; set; }
/// <summary>
/// indicates the format expected for parsed guids
/// </summary>
NumberStyles GuidNumberStyle { get; set; }
}
}