Skip to content

iw4madminapplicationio NetworkGameLogReader

RaidMax edited this page May 21, 2023 · 1 revision

NetworkGameLogReader Internal class

Description

provides capability of reading log files over udp

Diagram

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

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

Summary

provides capability of reading log files over udp

Inheritance

Constructors

NetworkGameLogReader

Source code

public NetworkGameLogReader(IReadOnlyList<Uri> uris, IEventParser parser, ILogger<NetworkGameLogReader> logger)
Arguments
Type Name Description
IReadOnlyList<Uri> uris
IEventParser parser
ILogger<NetworkGameLogReader> logger

Methods

ReadEventsFromLog

Source code

public virtual 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

Clone this wiki locally