Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Commandlets
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Commandlets/AssetRegistryGenerator.h |
| Include | #include "Commandlets/AssetRegistryGenerator.h" |
Syntax
class FAssetRegistryGenerator
Remarks
Helper class for generating streaming install manifests
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAssetRegistryGenerator
(
const ITargetPlatform* InPlatform |
Constructor |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Follows an assets dependency chain to build up a list of package names in the same order as the runtime would attempt to load them | ||
| void | Deletes temporary manifest directories. | ||
| void | CloneGlobalAssetRegistryFilteredByPreviousState
(
const FAssetRegistryState& PreviousState |
Used by DLC which does not Clone the entire global AR. | |
| void | ComputePackageDifferences
(
const FComputeDifferenceOptions& Options, |
Computes differences between the current asset registry state and the provided previous state. | |
| void | ComputePackageRemovals
(
const FAssetRegistryState& PreviousState, |
Computes just the list of packages in the PreviousState that no longer exist in the current state. | |
| bool | ContainsMap
(
const FName& PackageName |
ContainsMap Does this package contain a map file (determined by finding if this package contains a UWorld / ULevel object) | |
| void | FinalizeChunkIDs
(
const TSet< FName >& CookedPackages, |
FinalizeChunkIDs Create the list of packages to store in each Chunk; each Chunk corresponds to a pak file, or group of pak files if the chunk is split. | |
| FAssetPackageData * | GetAssetPackageData
(
const FName& PackageName |
Returns editable version of the asset package state being generated | |
| void | GetChunkAssignments
(
TArray< TSet< FName >>& OutAssignments |
Returns the chunks | |
| int32 | GetPakchunkIndex
(
int32 ChunkId |
Get pakchunk file index from ChunkID | |
| const ITargetPlatform * | |||
| bool | Whether *this cloned the global the AssetRegistry during its construction. | ||
| void | Initialize
(
const TArray< FName >& StartupPackages, |
Initializes manifest generator - creates manifest lists, hooks up delegates. | |
| void | PostSave () |
PostSave Notify generator that we are finished saving registry | |
| void | PreSave Notify generator that we are about to save the registry and chunk manifests | ||
| void | RegisterChunkDataGenerator
(
TSharedRef< IChunkDataGenerator > InChunkDataGenerator |
Register a chunk data generator with this generator. Should be called prior to SaveManifests. | |
| bool | SaveAssetRegistry
(
const FString& SandboxPath, |
Saves generated asset registry data for each platform. | |
| bool | SaveManifests
(
FSandboxPlatformFile& InSandboxFile, |
Saves all generated manifests for each target platform. | |
| void | SetPreviousAssetRegistry
(
TUniquePtr< FAssetRegistryState >&& PreviousState |
Sets asset registry from a previous run that is used for iterative cooking. | |
| void | Check config to see whether chunk assignments use the AssetManager. | ||
| void | UpdateAssetRegistryData
(
UE::Cook::FMPCollectorServerMessageContext& Context, |
||
| void | UpdateAssetRegistryData
(
FName PackageName, |
Attempts to update the metadata for a package in an asset registry generator. | |
| bool | WriteCookerOpenOrder
(
FSandboxPlatformFile& InSandboxFile |
Writes out CookerOpenOrder.log file |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FAssetRegistryDifference | Differences between the current and the previous state. | ||
| FComputeDifferenceOptions | Options when computing the differences between current and previous state. | ||
| FGeneratorPackageInfo | Info about a GeneratorPackage (see ICookPackageSplitter) loaded from previous iterative cooks. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EDifference |
Typedefs
| Name | Description |
|---|---|
| FChunkPackageSet | Map of Package name to Sandbox Paths |
| FCreateOrFindArray | Ensures all assets in the input package are present in the registry |