Skip to content

Sein Replay File

C++ type · FSeinReplayFile

#include "SeinReplay.h"

A replay file loaded in memory.

C++ members (10)
  • FSeinReplayFile& operator=(const FSeinReplayFile& );
  • bool Load(const FString& Path, UWorld* World, FString& OutError); Read and index a file. The info is read against World.
  • const FSeinReplayInfo& GetInfo() const;
  • const FString& GetPath() const;
  • int32 GetLastTurn() const; The last turn recorded.
  • bool FindCheckpoint(int32 Turn, int32& OutTurn, TConstArrayView<uint8>& OutState) const; The latest checkpoint at or before Turn.
  • bool ReadTurn(int32 Turn, UWorld* World, TArray<FSeinCommand>& OutCommands) const; A turn’s commands; a turn without a record has none. False past the last turn or for an unreadable record.
  • const FGuid* FindChecksum(int32 Turn) const; The recorded checksum at the end of Turn, if one was recorded.
  • bool GetEnd(int32& OutTick, FGuid& OutChecksum) const; The tick the recorded match ended at and its final checksum; false when it did not end.
  • const TArray<TPair<int32, FSeinCommand>>& GetPauseControls() const; Every recorded resume with the tick it ran at, in order.