Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/ICookPackageSplitter
Context passed into Populate, PreSave, and PostSave functions, on the Generator package and on the Generated packages. Some functions are only applicable in certain calls, see the description of each function.
| Name | FPopulateContext |
| Type | struct |
| Header File | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include Path | #include "CookPackageSplitter.h" |
Syntax
struct FPopulateContext
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPopulateContext
(
UE::Cook::CookPackageSplitter::FPopulateContextData& InData |
CookPackageSplitter.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Data | UE::Cook::CookPackageSplitter::FPopulateContextData & | CookPackageSplitter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TConstArrayView< ICookPackageSplitter::FGeneratedPackageForPopulate > & GetGeneratedPackages () |
Placeholder UPackage and relative path information for all packages that will be generated. | CookPackageSplitter.h | |
UObject * GetOwnerObject() |
The SplitDataClass instance that this CookPackageSplitter instance was created for. | CookPackageSplitter.h | |
UPackage * GetOwnerPackage() |
The generator package being split. | CookPackageSplitter.h | |
| Returns the FGeneratedPackageForPopulate for the package for which the event is being called. | CookPackageSplitter.h | ||
UPackage * GetTargetPackage () |
Returns the UPackage for which the event is being called. | CookPackageSplitter.h | |
bool IsCalledOnGenerator () |
Returns true during calls on the generator package (e.g. PopulateGeneratorPackage). | CookPackageSplitter.h | |
void ReportKeepReferencedPackage
(
UPackage* Package |
Report a package to keep referenced until the generator/generated package finishes save. | CookPackageSplitter.h | |
void ReportKeepReferencedPackages
(
TConstArrayView< UPackage* > Packages |
CookPackageSplitter.h | ||
void ReportObjectsToMove
(
TConstArrayView< UObject* > Objects |
CookPackageSplitter.h | ||
void ReportObjectToMove
(
UObject* Object |
Report objects that will be moved into the Generator or Generated package during its save. | CookPackageSplitter.h | |
void ReportSaveDependency
(
UE::Cook::FCookDependency CookDependency |
Add the given FCookDependency to the build dependencies for the TargetGeneratedPackage. | CookPackageSplitter.h |