Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UAssetManager
Description
Allows the asset manager to override the chunkID to be a string rather than integer value. Used at cook time and runtime to determine how to map chunkids to the potential string override. This does not update the internal asset registry number only the generated pak chunk file name. The AssetRegistryGenerator will request this mapping during Chunk Generation time. All strings must be be alpha numeric with no spaces.
When overriding it's recommended to setup PlatformChunk mapping via the InstallBundle rules. When a pak chunk does not have a parseable number the default platform chunk will be 0 unless InstallBundle rules override that.
| Name | GetPakChunkIdToStringMapping |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
| Include Path | #include "Engine/AssetManager.h" |
virtual void GetPakChunkIdToStringMapping
(
TMap < int32, FString > & ChunkIdStringOverride
)
Parameters
| Name | Remarks |
|---|---|
| ChunkIdStringOverride | Out parameter for the override information of a chunkID to string. |