1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

fix T6 reading

add WaW support
fix stats threading
This commit is contained in:
RaidMax
2018-05-10 23:52:20 -05:00
parent 27233e3069
commit e817c333a5
15 changed files with 246 additions and 151 deletions

View File

@ -9,9 +9,9 @@ using SharedLibraryCore.Objects;
namespace IW4MAdmin.Application.EventParsers
{
class T6MEventParser : IEventParser
class T6MEventParser : IW4EventParser
{
public GameEvent GetEvent(Server server, string logLine)
/*public GameEvent GetEvent(Server server, string logLine)
{
string cleanedEventLine = Regex.Replace(logLine, @"^ *[0-9]+:[0-9]+ *", "").Trim();
string[] lineSplit = cleanedEventLine.Split(';');
@ -104,8 +104,8 @@ namespace IW4MAdmin.Application.EventParsers
},
Owner = server
};
}
}*/
public string GetGameDir() => $"t6r{Path.DirectorySeparatorChar}data";
public override string GetGameDir() => $"t6r{Path.DirectorySeparatorChar}data";
}
}