Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)

#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
This commit is contained in:
Chris Gagnon
2019-03-27 15:03:08 -04:00
parent 9324b47742
commit 00f8b72a0b
4555 changed files with 147863 additions and 410142 deletions
@@ -838,17 +838,20 @@ void FHttpNetworkReplayStreamer::GotoCheckpointIndex( const int32 CheckpointInde
TSharedRef<IHttpRequest> HttpRequest = FHttpModule::Get().CreateRequest();
// Download the next stream chunk
HttpRequest->SetURL( FString::Printf( TEXT( "%sevent/%s" ), *ServerURL, *CheckpointList.ReplayEvents[DeltaDownloadCheckpointIndex].ID ) );
HttpRequest->SetVerb( TEXT( "GET" ) );
if (CheckpointType == EReplayCheckpointType::Delta)
{
DeltaDownloadCheckpointIndex = 0;
HttpRequest->SetURL( FString::Printf( TEXT( "%sevent/%s" ), *ServerURL, *CheckpointList.ReplayEvents[DeltaDownloadCheckpointIndex].ID ) );
HttpRequest->OnProcessRequestComplete().BindRaw( this, &FHttpNetworkReplayStreamer::HttpDownloadCheckpointDeltaFinished );
}
else
{
HttpRequest->SetURL( FString::Printf( TEXT( "%sevent/%s" ), *ServerURL, *CheckpointList.ReplayEvents[CheckpointIndex].ID ) );
HttpRequest->OnProcessRequestComplete().BindRaw( this, &FHttpNetworkReplayStreamer::HttpDownloadCheckpointFinished );
}