Add delta replay checkpoints (demo.WithDeltaCheckpoints, disabled by default), implemented for local file and http replay streamers

#rb ryan.gerleve

#ROBOMERGE-OWNER: ryan.vance
#ROBOMERGE-AUTHOR: brian.bekich
#ROBOMERGE-SOURCE: CL 4977682 via CL 4979505 via CL 4980018 via CL 4983195
#ROBOMERGE-BOT: DEVVR (Main -> Dev-VR)

[CL 5033559 by brian bekich in Dev-VR branch]
This commit is contained in:
brian bekich
2019-02-16 07:37:03 -05:00
parent d86cdbfd4d
commit 4930f0fd88
21 changed files with 1073 additions and 203 deletions
@@ -558,7 +558,7 @@ void FNullNetworkReplayStreamer::FlushCheckpoint(const uint32 TimeInMS)
++CurrentCheckpointIndex;
}
void FNullNetworkReplayStreamer::GotoCheckpointIndex(const int32 CheckpointIndex, const FGotoCallback& Delegate)
void FNullNetworkReplayStreamer::GotoCheckpointIndex(const int32 CheckpointIndex, const FGotoCallback& Delegate, EReplayCheckpointType CheckpointType)
{
GotoCheckpointIndexInternal(CheckpointIndex, Delegate, -1);
}
@@ -641,7 +641,7 @@ void FNullNetworkReplayStreamer::UpdateReplayInfoIfValid()
}
}
void FNullNetworkReplayStreamer::GotoTimeInMS(const uint32 TimeInMS, const FGotoCallback& Delegate)
void FNullNetworkReplayStreamer::GotoTimeInMS(const uint32 TimeInMS, const FGotoCallback& Delegate, EReplayCheckpointType CheckpointType)
{
// Enumerate all the events in the events folder, since we need to know what times the checkpoints correlate with
TArray<FNullCheckpointListItem> Checkpoints;