using static SharedLibraryCore.Server; namespace SharedLibraryCore.Interfaces { public interface IEventParser { /// /// Generates a game event based on log line input /// /// server the event occurred on /// single log line string /// /// todo: make this integrate without needing the server GameEvent GetEvent(Server server, string logLine); /// /// Get game specific folder prefix for log files /// /// Game directory prefix IEventParserConfiguration Configuration { get; set; } /// /// stores the game/client specific version (usually the value of the "version" DVAR) /// string Version { get; set; } /// /// specifies the game name (usually the internal studio iteration ie: IW4, T5 etc...) /// Game GameName { get; set; } /// /// specifies the connect URI used to join game servers via web browser /// string URLProtocolFormat { get; set; } } }