-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationeventparsers BaseEventParser
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.EventParsers
IW4MAdmin.Application.EventParsers.BaseEventParser[[BaseEventParser]]
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IEventParser[[IEventParser]]
class SharedLibraryCore.Interfaces.IEventParser interfaceStyle;
end
SharedLibraryCore.Interfaces.IEventParser --> IW4MAdmin.Application.EventParsers.BaseEventParser
Type | Name | Methods |
---|---|---|
IEventParserConfiguration |
Configuration |
get, set |
Game |
GameName |
get, set |
string |
Name |
get, set |
string |
URLProtocolFormat |
get, set |
string |
Version |
get, set |
Returns | Name |
---|---|
GameEvent |
GenerateGameEvent (string logLine) |
void |
RegisterCustomEvent (string eventSubtype, string eventTriggerValue, Func <string , IEventParserConfiguration , GameEvent , GameEvent > eventModifier) |
public BaseEventParser(IParserRegexFactory parserRegexFactory, ILogger logger, ApplicationConfiguration appConfig)
Type | Name | Description |
---|---|---|
IParserRegexFactory |
parserRegexFactory | |
ILogger |
logger | |
ApplicationConfiguration |
appConfig |
public virtual GameEvent GenerateGameEvent(string logLine)
Type | Name | Description |
---|---|---|
string |
logLine |
public virtual void RegisterCustomEvent(string eventSubtype, string eventTriggerValue, Func<string, IEventParserConfiguration, GameEvent, GameEvent> eventModifier)
Type | Name | Description |
---|---|---|
string |
eventSubtype | |
string |
eventTriggerValue | |
Func <string , IEventParserConfiguration , GameEvent , GameEvent > |
eventModifier |
public virtual IEventParserConfiguration Configuration { get; set; }
public virtual string Version { get; set; }
public virtual Game GameName { get; set; }
public virtual string URLProtocolFormat { get; set; }
public virtual string Name { get; set; }
Generated with ModularDoc