1 iw4madminapplicationeventparsers BaseEventParser
RaidMax edited this page 2023-05-20 22:09:21 -05:00

BaseEventParser Public class

Diagram

  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

Members

Properties

Public properties

Type Name Methods
IEventParserConfiguration Configuration get, set
Game GameName get, set
string Name get, set
string URLProtocolFormat get, set
string Version get, set

Methods

Public methods

Returns Name
GameEvent GenerateGameEvent(string logLine)
void RegisterCustomEvent(string eventSubtype, string eventTriggerValue, Func<string, IEventParserConfiguration, GameEvent, GameEvent> eventModifier)

Details

Inheritance

Constructors

BaseEventParser

Source code

public BaseEventParser(IParserRegexFactory parserRegexFactory, ILogger logger, ApplicationConfiguration appConfig)
Arguments
Type Name Description
IParserRegexFactory parserRegexFactory
ILogger logger
ApplicationConfiguration appConfig

Methods

GenerateGameEvent

Source code

public virtual GameEvent GenerateGameEvent(string logLine)
Arguments
Type Name Description
string logLine

RegisterCustomEvent

Source code

public virtual void RegisterCustomEvent(string eventSubtype, string eventTriggerValue, Func<string, IEventParserConfiguration, GameEvent, GameEvent> eventModifier)
Arguments
Type Name Description
string eventSubtype
string eventTriggerValue
Func<string, IEventParserConfiguration, GameEvent, GameEvent> eventModifier

Properties

Configuration

public virtual IEventParserConfiguration Configuration { get; set; }

Version

public virtual string Version { get; set; }

GameName

public virtual Game GameName { get; set; }

URLProtocolFormat

public virtual string URLProtocolFormat { get; set; }

Name

public virtual string Name { get; set; }

Generated with ModularDoc