FAssetPackageData

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

Windows
MacOS
Linux

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

Name Description

Public variable

FMD5Hash

 

CookedHash

MD5 of the cooked package on disk, for tracking nondeterministic changes

Public variable

int64

 

DiskSize

Total size of this asset on disk

Constructors

Name Description

Public function

FAssetPackageData()

Public function

FAssetPackageData

(
    FAssetPackageData&&
)

Workaround for clang deprecation warnings for deprecated PackageGuid member in implicit constructors.

Public function

FAssetPackageData

(
    const FAssetPackageData&
)

Functions

Name Description

Public function

void

 

SerializeForCache

(
    FArchive& Ar
)

Serialize as part of the registry cache.

Operators

Name Description

Public function

FAssetPackag...

 

operator=

(
    FAssetPackageData&&
)

Public function

FAssetPackag...

 

operator=

(
    const FAssetPackageData&
)

Deprecated Variables

Name Description

Public variable

FGuid

 

PackageGuid

UPackage::Guid has not been used by the engine for a long time and [FAssetPackageData::PackageGuid](API\Runtime\CoreUObject\AssetRegistry\FAssetPackageData\PackageGuid) will be removed.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss