99390f1f35
view angle vector parse fail is now a handled exception change local host check to byte array to make it faster than comparing string kick command now requires moderator level or higher tempban now requires administrator level or higher hopefully fixed negative SPM bug pipelined the events and consolidated them to run through GameEventHandler uniform console colors
24 lines
740 B
C#
24 lines
740 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>
|
|
/// todo: make this integrate without needing the server
|
|
GameEvent GetEvent(Server server, string logLine);
|
|
/// <summary>
|
|
/// Get game specific folder prefix for log files
|
|
/// </summary>
|
|
/// <returns>Game directory prefix</returns>
|
|
string GetGameDir();
|
|
}
|
|
}
|