IW4M-Admin/SharedLibraryCore/Interfaces/IEventParser.cs
RaidMax 2964fd71b2 fixed ping bug showing origin ping instead of target
event parser has GetGameDir
made parsers choosen more dynamically
profile shows online/offline status of client
2018-04-14 23:26:27 -05:00

23 lines
675 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace SharedLibraryCore.Interfaces
{
public interface IEventParser
{
/// <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>
GameEvent GetEvent(Server server, string logLine);
/// <summary>
/// Get game specific folder prefix for log files
/// </summary>
/// <returns>Game directory prefix</returns>
string GetGameDir();
}
}