Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/AssetRegistry
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h |
| Include | #include "AssetRegistry/AssetData.h" |
Syntax
class FAssetPackageData
Remarks
A class to hold data about a package on disk, this data is updated on save/load and is not updated when an asset changes in memory
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FIoChunkId, FIoHash > | ChunkHashes | The hash of all the chunks written by the package writer for this package. | |
| FMD5Hash | CookedHash | MD5 of the cooked package on disk, for tracking nondeterministic changes | |
| int64 | DiskSize | Total size of this asset on disk | |
| EPackageExtension | Extension | ||
| int32 | FileVersionLicenseeUE | Licensee file version that the package was saved with | |
| FPackageFileVersion | FileVersionUE | UE file version that the package was saved with | |
| TArray< FName > | ImportedClasses | List of classes used by exports in the package. Does not include classes in the same package. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| SIZE_T | Returns the amount of memory allocated by this container, not including sizeof(*this). | ||
| TConstArrayView< UE::AssetRegistry::FPackageCustomVersion > | Custom versions used by the package, used to check whether we need to update the package for the current binary. | ||
| bool | Whether the package contains virtualized payloads or not | ||
| bool | Whether the package was saved from a licensee executable, used to tell whether non-matching FileVersionLicenseeUE requires a resave | ||
| void | SerializeForCache
(
FArchive& Ar |
Serialize as part of the registry cache. | |
| void | SerializeForCacheOldVersion
(
FArchive& Ar, |
Serialize as part of the registry cache. | |
| void | SetCustomVersions
(
TConstArrayView< FCustomVersion > InCustomVersions |
||
| void | SetCustomVersions
(
TConstArrayView< UE::AssetRegistry::FPackageCustomVersion > InCustomVersions |
||
| void | SetCustomVersions
(
TArray< UE::AssetRegistry::FPackageCustomVersion >&& InCustomVersions |
||
| void | SetHasVirtualizedPayloads
(
bool bValue |
||
| void | SetIsLicenseeVersion
(
bool bValue |
Constants
| Name | Description |
|---|---|
| FLAG_HAS_VIRTUALIZED_PAYLOADS | |
| FLAG_LICENSEE_VERSION |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | PackageGuid | UPackage::Guid has not been used by the engine for a long time and FAssetPackageData::PackageGuid will be removed. |