#include <GenericPlatformChunkInstall.h>
Interface for platform specific chunk based install
Definition at line 135 of file GenericPlatformChunkInstall.h.
◆ ~IPlatformChunkInstall()
virtual IPlatformChunkInstall::~IPlatformChunkInstall |
( |
| ) |
|
|
inlinevirtual |
◆ AddChunkInstallDelegate()
Request a delegate callback on chunk install completion or failure. Request may not be respected.
- Parameters
-
Delegate | The delegate to call when any chunk is installed or fails to install |
- Returns
- Handle to the bound delegate
Implemented in FGenericPlatformChunkInstall.
◆ AddNamedChunkInstallDelegate()
Request a delegate callback on named chunk install completion or failure. Request may not be respected.
- Parameters
-
Delegate | The delegate to call when any named chunk is installed or fails to install |
- Returns
- Handle to the bound delegate
Implemented in FGenericPlatformChunkInstall.
◆ DebugStartNextChunk()
virtual bool IPlatformChunkInstall::DebugStartNextChunk |
( |
| ) |
|
|
pure virtual |
For platforms that support emulation of the Chunk install. Starts transfer of the next chunk. Does nothing in a shipping build.
- Returns
- true if the operation succeeds.
Implemented in FGenericPlatformChunkInstall.
◆ ExternalNotifyChunkAvailable()
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.
- Parameters
-
InChunkID | - ID of the chunk that has just become available |
Implemented in FGenericPlatformChunkInstall.
◆ GetChunkLocation()
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.
- Parameters
-
ChunkID | The id of the chunk to check. |
- Returns
- Enum specifying whether the chunk is available to use, waiting to install, or does not exist.
Implemented in FGenericPlatformChunkInstall.
◆ GetChunkProgress()
Get the current install progress of a chunk. Let the user specify report type for platforms that support more than one.
- Parameters
-
ChunkID | The id of the chunk to check. |
ReportType | The type of progress report you want. |
- Returns
- A value whose meaning is dependent on the ReportType param.
Implemented in FGenericPlatformChunkInstall.
◆ GetCustomChunksByType()
◆ GetInstallSpeed()
Inquire about the priority of chunk installation vs. game IO.
- Returns
- Paused, low or high priority.
Implemented in FGenericPlatformChunkInstall.
◆ GetNamedChunkLocation()
Get the current location of the given named chunk
- Parameters
-
NamedChunk | The name of the chunk |
- Returns
- Enum specifying whether the chunk is available to use, waiting to install, or does not exist.
Implemented in FGenericPlatformChunkInstall.
◆ GetNamedChunkProgress()
Get the current install progress of the given named chunk. Let the user specify report type for platforms that support more than one.
- Parameters
-
NamedChunk | The name of the chunk |
ReportType | The type of progress report you want. |
- Returns
- A value whose meaning is dependent on the ReportType param.
Implemented in FGenericPlatformChunkInstall.
◆ GetNamedChunksByType()
Get a list of all the named chunks of the given type
- Parameters
-
Enum | indicating the type of chunk |
- Returns
- Array containing all named chunks of the given type
Implemented in FGenericPlatformChunkInstall.
◆ GetNamedChunkType()
Query the type of the given named chunk
- Parameters
-
NamedChunk | The name of the chunk |
- Returns
- Enum indicating the type of chunk, if any
Implemented in FGenericPlatformChunkInstall.
◆ GetPakchunkLocation()
Get the current location of a chunk with pakchunk index.
- Parameters
-
PakchunkIndex | The id of the pak chunk. |
- Returns
- Enum specifying whether the chunk is available to use, waiting to install, or does not exist.
Implemented in FGenericPlatformChunkInstall.
◆ GetProgressReportingTypeSupported()
Check if a given reporting type is supported.
- Parameters
-
ReportType | Enum specifying how progress is reported. |
- Returns
- true if reporting type is supported on the current platform.
Implemented in FGenericPlatformChunkInstall.
◆ InstallChunks()
◆ InstallNamedChunk()
Install the given named chunk
- Parameters
-
NamedChunk | The name of the chunk |
- Returns
- whether installation task has been kicked
Implemented in FGenericPlatformChunkInstall.
◆ InstallNamedChunks()
Install the given set of named chunks
- Parameters
-
NamedChunks | The names of the chunks to install |
- Returns
- whether installation task has been kicked
Implemented in FGenericPlatformChunkInstall.
◆ IsChunkInstallationPending()
◆ IsNamedChunkInProgress()
Check whether the give chunk is being installed
- Parameters
-
NamedChunk | The name of the chunk |
- Returns
- whether installation task has been kicked
Implemented in FGenericPlatformChunkInstall.
◆ PrioritizeChunk()
Hint to the installer that we would like to prioritize a specific chunk
- Parameters
-
ChunkID | The id of the chunk to prioritize. |
Priority | The priority for the chunk. |
- Returns
- false if the operation is not allowed or the chunk doesn't exist, otherwise true.
Implemented in FGenericPlatformChunkInstall.
◆ PrioritizeNamedChunk()
Hint to the installer that we would like to prioritize a specific chunk
- Parameters
-
NamedChunk | The name of the chunk |
Priority | The priority for the chunk. |
- Returns
- false if the operation is not allowed or the chunk doesn't exist, otherwise true.
Implemented in FGenericPlatformChunkInstall.
◆ PrioritizePakchunk()
Hint to the installer that we would like to prioritize a specific chunk
- Parameters
-
PakchunkIndex | The index of the pakchunk to prioritize. |
Priority | The priority for the chunk. |
- Returns
- false if the operation is not allowed or the chunk doesn't exist, otherwise true.
Implemented in FGenericPlatformChunkInstall.
◆ RemoveChunkInstallDelegate()
Remove a delegate callback on chunk install completion.
- Parameters
-
Delegate | The delegate to remove. |
Implemented in FGenericPlatformChunkInstall.
◆ RemoveNamedChunkInstallDelegate()
Remove a delegate callback on named chunk install completion.
- Parameters
-
Delegate | The delegate to remove. |
Implemented in FGenericPlatformChunkInstall.
◆ SetInstallSpeed()
Specify the priority of chunk installation vs. game IO.
- Parameters
-
InstallSpeed | Pause, low or high priority. |
- Returns
- false if the operation is not allowed, otherwise true.
Implemented in FGenericPlatformChunkInstall.
◆ SupportsIntelligentInstall()
virtual bool IPlatformChunkInstall::SupportsIntelligentInstall |
( |
| ) |
|
|
pure virtual |
◆ SupportsNamedChunkInstall()
virtual bool IPlatformChunkInstall::SupportsNamedChunkInstall |
( |
| ) |
const |
|
pure virtual |
Check whether current platform supports chunk installation by name
- Returns
- whether Intelligent Install is supported
Implemented in FGenericPlatformChunkInstall.
◆ UninstallChunks()
◆ UninstallNamedChunk()
Uninstall the given named chunk
- Parameters
-
NamedChunk | The name of the chunk |
- Returns
- whether uninstallation task has been kicked
Implemented in FGenericPlatformChunkInstall.
◆ UninstallNamedChunks()
Uninstall the given set of named chunks
- Parameters
-
NamedChunk | The names of the chunks to uninstall |
- Returns
- whether uninstallation task has been kicked
Implemented in FGenericPlatformChunkInstall.
The documentation for this class was generated from the following file: