Navigation
API > API/Plugins > API/Plugins/GameFeatures > API/Plugins/GameFeatures/UGameFeatureAction_AddChunkOverr-
Description
Given the package name will check if this is a package from a GFP that we want to assign a specific chunk to. returns the override chunk for this package if one is set.
Should be used in combination with overriding UAssetManager::GetPackageChunkIds so that you are able to reassign a startup package. This can be necessary to reassign startup packages such as the GameFeatureData asset.
| Name | GetChunkForPackage |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Public/GameFeatureAction_AddChunkOverride.h |
| Include Path | #include "GameFeatureAction_AddChunkOverride.h" |
| Source | /Engine/Plugins/Runtime/GameFeatures/Source/GameFeatures/Private/GameFeatureAction_AddChunkOverride.cpp |
static TOptional < int32 > GetChunkForPackage
(
const FString & PackageName
)