You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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:
+4
-1
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user