1 iw4madminapplicationio GameLogReader
RaidMax edited this page 2023-05-20 22:09:21 -05:00

GameLogReader Internal class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph IW4MAdmin.Application.IO
  IW4MAdmin.Application.IO.GameLogReader[[GameLogReader]]
  end
  subgraph SharedLibraryCore.Interfaces
  SharedLibraryCore.Interfaces.IGameLogReader[[IGameLogReader]]
  class SharedLibraryCore.Interfaces.IGameLogReader interfaceStyle;
  end
SharedLibraryCore.Interfaces.IGameLogReader --> IW4MAdmin.Application.IO.GameLogReader

Members

Properties

Public properties

Type Name Methods
long Length get
int UpdateInterval get

Methods

Public methods

Returns Name
Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)

Details

Inheritance

Constructors

GameLogReader

Source code

public GameLogReader(string logFile, IEventParser parser, ILogger<GameLogReader> logger)
Arguments
Type Name Description
string logFile
IEventParser parser
ILogger<GameLogReader> logger

Methods

ReadEventsFromLog

Source code

public virtual async Task<IEnumerable<GameEvent>> ReadEventsFromLog(long fileSizeDiff, long startPosition, Server server)
Arguments
Type Name Description
long fileSizeDiff
long startPosition
Server server

Properties

Length

public virtual long Length { get; }

UpdateInterval

public virtual int UpdateInterval { get; }

Generated with ModularDoc