Files
UnrealEngine/Engine/Plugins/Runtime/ChunkDownloader/Source/Private/PlatformStreamDownload.h
2025-05-18 13:04:45 +08:00

15 lines
493 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
class FString;
template <typename FuncType> class TFunction;
typedef TFunction<void(int32 HttpStatus)> FDownloadComplete;
typedef TFunction<void(uint64 BytesReceived)> FDownloadProgress;
typedef TFunction<void(void)> FDownloadCancel;
extern FDownloadCancel PlatformStreamDownload(const FString& Url, const FString& TargetFile, const FDownloadProgress& Progress, const FDownloadComplete& Callback);