![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericPlatformChunkInstall.h>
Inheritance diagram for FGenericPlatformChunkInstall:Protected Member Functions | |
| CORE_API void | DoNamedChunkCompleteCallbacks (const FName NamedChunk, EChunkLocation::Type Location, bool bHasSucceeded) const |
| CORE_API void | DoNamedChunkCompleteCallbacks (const TArrayView< const FName > &NamedChunks, EChunkLocation::Type Location, bool bHasSucceeded) const |
| virtual EChunkLocation::Type | GetChunkLocation (uint32 ChunkID) override |
Protected Attributes | |
| FPlatformChunkInstallMultiDelegate | InstallDelegate |
| FPlatformNamedChunkCompleteMultiDelegate | NamedChunkCompleteDelegate |
Generic implementation of chunk based install
|
inlineoverridevirtual |
Request a delegate callback on chunk install completion or failure. Request may not be respected.
| Delegate | The delegate to call when any chunk is installed or fails to install |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Request a delegate callback on named chunk install completion or failure. Request may not be respected.
| Delegate | The delegate to call when any named chunk is installed or fails to install |
Implements IPlatformChunkInstall.
|
overridevirtual |
Initialize the platform chunk installer in the background. May require opt-in for the platform-specific chunk installer due to backwards compatility concerns.
| OnInitialized | Callback for when asyncronous initialization is completed. |
Implements IPlatformChunkInstall.
For platforms that support emulation of the Chunk install. Starts transfer of the next chunk. Does nothing in a shipping build.
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
|
protected |
|
protected |
|
inlineoverridevirtual |
Allow an external system to notify that a particular chunk ID has become available Initial use-case is for dynamically encrypted pak files to signal to the outside world that it has become available.
| InChunkID | - ID of the chunk that has just become available |
Implements IPlatformChunkInstall.
|
inlineoverrideprotectedvirtual |
Get the current location of a chunk. Pakchunk index and platform chunk id are not always the same. Call GetPakchunkLocation instead of calling from outside.
| ChunkID | The id of the chunk to check. |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get the current install progress of a chunk. Let the user specify report type for platforms that support more than one.
| ChunkID | The id of the chunk to check. |
| ReportType | The type of progress report you want. |
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
|
inlineoverridevirtual |
Inquire about the priority of chunk installation vs. game IO.
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
|
inlineoverridevirtual |
Get detailed installation status for the given named chunk
| NamedChunk | The named chunk to query |
| OutChunkStatusDetail | (out) structure that will contain the status detail |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get the current location of the given named chunk
| NamedChunk | The name of the chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get the current install progress of the given named chunk. Let the user specify report type for platforms that support more than one.
| NamedChunk | The name of the chunk |
| ReportType | The type of progress report you want. |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get a list of all the named chunks of the given type
| Enum | indicating the type of chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Query the type of the given named chunk
| NamedChunk | The name of the chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get the current location of a chunk with pakchunk index.
| PakchunkIndex | The id of the pak chunk. |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Get the list of pak files in the given named chunk.
| NamedChunk | The named chunk to query |
| OutFilesInChunk | The pak files names in the named chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Check if a given reporting type is supported.
| ReportType | Enum specifying how progress is reported. |
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
|
inlineoverridevirtual |
Install the given named chunk
| NamedChunk | The name of the chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Install the given set of named chunks
| NamedChunks | The names of the chunks to install |
Implements IPlatformChunkInstall.
Returns whether chunk installation is available (i.e. we are an installed packaged build etc)
Implements IPlatformChunkInstall.
|
inlinevirtual |
Determine if the given named chunk is suitable for the current system locale
| NamedChunk | The named chunk to query |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Check whether the give chunk is being installed
| NamedChunk | The name of the chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Hint to the installer that we would like to prioritize a specific chunk
| ChunkID | The id of the chunk to prioritize. |
| Priority | The priority for the chunk. |
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
|
inlineoverridevirtual |
Hint to the installer that we would like to prioritize a specific chunk
| NamedChunk | The name of the chunk |
| Priority | The priority for the chunk. |
Implements IPlatformChunkInstall.
|
inlinevirtual |
Hint to the installer that we would like to prioritize a specific chunk
| PakchunkIndex | The index of the pakchunk to prioritize. |
| Priority | The priority for the chunk. |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Remove a delegate callback on chunk install completion.
| Delegate | The delegate to remove. |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Remove a delegate callback on named chunk install completion.
| Delegate | The delegate to remove. |
Implements IPlatformChunkInstall.
Set whether pak files are auto-mounted when they are installed (the default is that they are mounted)
| bEnabled | Whether to auto-mount pak files |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Specify the priority of chunk installation vs. game IO.
| InstallSpeed | Pause, low or high priority. |
Implements IPlatformChunkInstall.
Reimplemented in FIOSChunkInstall.
Returns whether this platform chunk installer implements all the API functions to support the platform chunk install bundle source
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Check whether current platform supports chunk installation by name
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Uninstall the given named chunk
| NamedChunk | The name of the chunk |
Implements IPlatformChunkInstall.
|
inlineoverridevirtual |
Uninstall the given set of named chunks
| NamedChunk | The names of the chunks to uninstall |
Implements IPlatformChunkInstall.
|
protected |
Delegates called when installation succeeds or fails
|
protected |