UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BuildPatchServices::FCloudChunkSourceFactory Class Reference

#include <CloudChunkSource.h>

Static Public Member Functions

static ICloudChunkSourceCreate (FCloudSourceConfig Configuration, IPlatform *Platform, IChunkStore *ChunkStore, IDownloadService *DownloadService, IChunkReferenceTracker *ChunkReferenceTracker, IChunkDataSerialization *ChunkDataSerialization, IMessagePump *MessagePump, IInstallerError *InstallerError, IDownloadConnectionCount *InConnectionCount, ICloudChunkSourceStat *CloudChunkSourceStat, IBuildManifestSet *ManifestSet, TSet< FGuid > InitialDownloadSet)
 

Detailed Description

A factory for creating an ICloudChunkSource instance.

Member Function Documentation

◆ Create()

ICloudChunkSource * BuildPatchServices::FCloudChunkSourceFactory::Create ( FCloudSourceConfig  Configuration,
IPlatform Platform,
IChunkStore ChunkStore,
IDownloadService DownloadService,
IChunkReferenceTracker ChunkReferenceTracker,
IChunkDataSerialization ChunkDataSerialization,
IMessagePump MessagePump,
IInstallerError InstallerError,
IDownloadConnectionCount InConnectionCount,
ICloudChunkSourceStat CloudChunkSourceStat,
IBuildManifestSet ManifestSet,
TSet< FGuid InitialDownloadSet 
)
static

This implementation requests chunks from a list of cloud sources, which is iterated as failures occur. It supports a configurable number of simultaneous requests, pre-fetching of chunks which are required next, depending on store slack, and tracking of success rates. A chunk can be requested which was not in the initial set, and it will be downloaded as a priority.

Parameters
ConfigurationThe configuration struct for this cloud source.
PlatformThe platform access interface.
ChunkStoreThe chunk store where received chunks will be put.
DownloadServiceThe service used to request each chunk via url.
ChunkReferenceTrackerThe reference tracker for the installation, used to decide which chunks to fetch and when.
ChunkDataSerializationChunk data serialization implementation for converting downloaded bytes into chunk data.
MessagePumpThe message pump to receive messages about source events.
InstallerErrorError tracker where fatal errors will be reported.
ConnectionCountThe class that provides an approximately optimal number of simultaneous download connections
CloudChunkSourceStatThe class to receive statistics and event information.
InstallManifestThe manifest that chunks are required for.
InitialDownloadSetThe initial set of chunks to be sourced from cloud.
Returns
the new ICloudChunkSource instance created.

The documentation for this class was generated from the following files: