Resolve "[Game logs] Playback Controller"

Resolving 671-Playback controller

Summary

Implemented GameLogReader to play game logs on skynet. run skynet with "skynet --game-log [PATH_TO_GAME_LOG]" to play game logs

Related Issue(s)

683 - [Game Logs] Long gameplay pause detection 684 - [Game Logs] Time based seeking

Changes

GameLogReader

  • reads in the file
  • have slots to receive play pause requests
  • playback:
    1. read log entry metadata(size, type, time)
    2. waits on a QTimer to process next log entry
    3. sends the log entry to the correct GameLogConnection based on the log entry type GameLogConnection
  • gives the resulting messages to the connected protocol parser

Closes #671 (closed)

Merge request reports

Loading