sharedlibrarycoreinterfaces IGameLogReader - RaidMax/IW4M-Admin GitHub Wiki
represents the abstraction of game log reading
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IGameLogReader[[IGameLogReader]]
class SharedLibraryCore.Interfaces.IGameLogReader interfaceStyle;
end
| Type | Name | Methods |
|---|---|---|
long |
Lengthhow long the log file is |
get |
int |
UpdateIntervalhow often to poll the log file |
get |
| Returns | Name |
|---|---|
Task<IEnumerable<GameEvent>> |
ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)get new events that have occured since the last poll |
represents the abstraction of game log reading
public Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)| Type | Name | Description |
|---|---|---|
long |
fileSizeDiff | |
long |
startPosition | |
Server |
server |
get new events that have occured since the last poll
public long Length { get; }how long the log file is
public int UpdateInterval { get; }how often to poll the log file
Generated with ModularDoc