update parsers to include game name
prompt to enter log path if game doesn't generate
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
namespace SharedLibraryCore.Interfaces
|
||||
using static SharedLibraryCore.Server;
|
||||
|
||||
namespace SharedLibraryCore.Interfaces
|
||||
{
|
||||
public interface IEventParser
|
||||
{
|
||||
@ -15,6 +17,15 @@
|
||||
/// </summary>
|
||||
/// <returns>Game directory prefix</returns>
|
||||
IEventParserConfiguration Configuration { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// stores the game/client specific version (usually the value of the "version" DVAR)
|
||||
/// </summary>
|
||||
string Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// specifies the game name (usually the internal studio iteration ie: IW4, T5 etc...)
|
||||
/// </summary>
|
||||
Game GameName { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -51,5 +51,16 @@ namespace SharedLibraryCore.Interfaces
|
||||
/// stores the game/client specific version (usually the value of the "version" DVAR)
|
||||
/// </summary>
|
||||
string Version { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// specifies the game name (usually the internal studio iteration ie: IW4, T5 etc...)
|
||||
/// </summary>
|
||||
Game GameName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// indicates if the game supports generating a log path from DVAR retrieval
|
||||
/// of fs_game, fs_basepath, g_log
|
||||
/// </summary>
|
||||
bool CanGenerateLogPath { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -9,10 +9,6 @@ namespace SharedLibraryCore.Interfaces
|
||||
/// </summary>
|
||||
CommandPrefix CommandPrefixes { get; set; }
|
||||
/// <summary>
|
||||
/// optionally stores the game name type
|
||||
/// </summary>
|
||||
Server.Game GameName { get; set; }
|
||||
/// <summary>
|
||||
/// stores the regex info for parsing get status response
|
||||
/// </summary>
|
||||
ParserRegex Status { get; set; }
|
||||
|
Reference in New Issue
Block a user