UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PackageReloadInternal::FExistingPackageReference Struct Reference

Public Member Functions

 FExistingPackageReference (UPackage *InPackage)
 

Public Attributes

UPackageRawRef
 
TObjectPtr< UPackageStrongRef
 
TWeakObjectPtr< UPackageWeakRef
 

Detailed Description

Reference to an existing package that prevents it being GC'd while we're still using it (via FExistingPackageReferences). Once we're done with it, we clear out the strong reference and use the weak reference to verify that it was purged correctly via GC.

Constructor & Destructor Documentation

◆ FExistingPackageReference()

PackageReloadInternal::FExistingPackageReference::FExistingPackageReference ( UPackage InPackage)
inline

Member Data Documentation

◆ RawRef

UPackage* PackageReloadInternal::FExistingPackageReference::RawRef

◆ StrongRef

TObjectPtr<UPackage> PackageReloadInternal::FExistingPackageReference::StrongRef

◆ WeakRef

TWeakObjectPtr<UPackage> PackageReloadInternal::FExistingPackageReference::WeakRef

The documentation for this struct was generated from the following file: