UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PackageReloadInternal::FNewPackageReferences Struct Reference
+ Inheritance diagram for PackageReloadInternal::FNewPackageReferences:

Public Member Functions

virtual void AddReferencedObjects (FReferenceCollector &Collector) override
 
virtual FString GetReferencerName () const
 
- Public Member Functions inherited from FGCObject
 FGCObject ()
 
 FGCObject (const FGCObject &Other)
 
 FGCObject (FGCObject &&Other)
 
 FGCObject (EFlags Flags)
 
virtual ~FGCObject ()
 
FGCObjectoperator= (const FGCObject &)
 
FGCObjectoperator= (FGCObject &&)
 
COREUOBJECT_API void RegisterGCObject ()
 
COREUOBJECT_API void UnregisterGCObject ()
 
virtual bool GetReferencerPropertyName (UObject *Object, FString &OutPropertyName) const
 

Public Attributes

TArray< FNewPackageReferenceRefs
 

Additional Inherited Members

- Public Types inherited from FGCObject
enum class  EFlags : uint32 { None = 0 , RegisterLater = 1 << 0 , AddStableNativeReferencesOnly = 1 << 1 }
 
- Static Public Member Functions inherited from FGCObject
static COREUOBJECT_API void StaticInit ()
 
- Static Public Attributes inherited from FGCObject
static COREUOBJECT_API UGCObjectReferencerGGCObjectReferencer = nullptr
 

Detailed Description

Array wrapper that prevents the packages inside the FNewPackageReferences instances being GC'd while we're still using them.

Member Function Documentation

◆ AddReferencedObjects()

virtual void PackageReloadInternal::FNewPackageReferences::AddReferencedObjects ( FReferenceCollector Collector)
inlineoverridevirtual

Pure virtual that must be overloaded by the inheriting class. Use this method to serialize any UObjects contained that you wish to keep around.

Parameters
CollectorThe collector of referenced objects.

Implements FGCObject.

◆ GetReferencerName()

virtual FString PackageReloadInternal::FNewPackageReferences::GetReferencerName ( ) const
inlinevirtual

Overload this method to report a name for your referencer

Implements FGCObject.

Member Data Documentation

◆ Refs

TArray<FNewPackageReference> PackageReloadInternal::FNewPackageReferences::Refs

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