Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/CookPackageSplitter.h |
| Include | #include "CookPackageSplitter.h" |
Syntax
class ICookPackageSplitter
Remarks
This class is used for packages that need to be split into multiple runtime packages. It provides the instructions to the cooker for how to split the package.
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual API functions - functions called from the cooker after creating the splitter. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FGeneratedPackage > | GetGenerateList
(
const UPackage* OwnerPackage, |
Return the list of packages to generate. | |
| FString | Return DebugName for this SplitterClass in cook log messages. | ||
| void | OnOwnerReloaded
(
UPackage* OwnerPackage, |
Called when the Owner package needs to be reloaded after a garbage collect in order to populate a generated package. | |
| bool | PopulateGeneratedPackage
(
UPackage* OwnerPackage, |
Try to populate a generated package. | |
| bool | PopulateGeneratorPackage
(
UPackage* OwnerPackage, |
Called before presaving the parent generator package, to give the generator a chance to inform the cooker which objects will be moved into the generator package that are not already present in it. | |
| void | PostSaveGeneratedPackage
(
UPackage* OwnerPackage, |
Called after saving a generated package. | |
| void | PostSaveGeneratorPackage
(
UPackage* OwnerPackage, |
Called after saving the parent generator package. | |
| bool | PreSaveGeneratedPackage
(
UPackage* OwnerPackage, |
Called before saving a generated package, after PopulateGeneratedPackage. | |
| bool | PreSaveGeneratorPackage
(
UPackage* OwnerPackage, |
Called before saving the parent generator package, after PopulateGeneratorPackage but before PopulateGeneratedPackage for any generated packages. | |
| bool | ShouldSplit
(
UObject* SplitData |
Static API functions - these static functions are referenced by REGISTER_COOKPACKAGE_SPLITTER before creating an instance of the class. | |
| void | Do teardown actions after all packages have saved, or when the cook is cancelled. | ||
| bool | If true, this splitter forces the Generator package objects it needs to remain referenced, and the cooker should expect them to still be in memory after a garbage collect so long as the splitter is alive. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FGeneratedPackage | Data sent to the cooker to describe each desired generated package | ||
| FGeneratedPackageForPopulate | Representation of a generated package when it itself is being populated. | ||
| FGeneratedPackageForPreSave | Representation of a generated package that is provided when populating the generator package. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ETeardown |