2018-04-13 02:32:30 -04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace SharedLibraryCore.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IEventParser
|
|
|
|
|
{
|
2018-04-15 00:26:27 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Generates a game event based on log line input
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="server">server the event occurred on</param>
|
|
|
|
|
/// <param name="logLine">single log line string</param>
|
|
|
|
|
/// <returns></returns>
|
2018-04-26 02:13:04 -04:00
|
|
|
|
/// todo: make this integrate without needing the server
|
2018-04-13 02:32:30 -04:00
|
|
|
|
GameEvent GetEvent(Server server, string logLine);
|
2018-04-15 00:26:27 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Get game specific folder prefix for log files
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns>Game directory prefix</returns>
|
2019-01-26 21:33:37 -05:00
|
|
|
|
IEventParserConfiguration Configuration { get; set; }
|
2018-04-13 02:32:30 -04:00
|
|
|
|
}
|
|
|
|
|
}
|