-
-
Notifications
You must be signed in to change notification settings - Fork 49
sharedlibrarycoreinterfaces IEventParser
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IEventParser[[IEventParser]]
class SharedLibraryCore.Interfaces.IEventParser interfaceStyle;
end
| Type | Name | Methods |
|---|---|---|
IEventParserConfiguration |
ConfigurationGet game specific folder prefix for log files |
get, set |
Game |
GameNamespecifies the game name (usually the internal studio iteration ie: IW4, T5 etc...) |
get, set |
string |
Namespecifies the text name of the game the parser is for |
get, set |
string |
URLProtocolFormatspecifies the connect URI used to join game servers via web browser |
get, set |
string |
Versionstores the game/client specific version (usually the value of the "version" DVAR) |
get, set |
| Returns | Name |
|---|---|
GameEvent |
GenerateGameEvent(string logLine)Generates a game event based on log line input |
void |
RegisterCustomEvent(string eventSubtype, string eventTriggerValue, Func<string, IEventParserConfiguration, GameEvent, GameEvent> eventModifier) |
public GameEvent GenerateGameEvent(string logLine)| Type | Name | Description |
|---|---|---|
string |
logLine | single log line string |
Generates a game event based on log line input
public 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 IEventParserConfiguration Configuration { get; set; }Get game specific folder prefix for log files
public string Version { get; set; }stores the game/client specific version (usually the value of the "version" DVAR)
public Game GameName { get; set; }specifies the game name (usually the internal studio iteration ie: IW4, T5 etc...)
public string URLProtocolFormat { get; set; }specifies the connect URI used to join game servers via web browser
public string Name { get; set; }specifies the text name of the game the parser is for
Generated with ModularDoc