![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PackageReload.h>
Public Member Functions | |
| FPackageReloadedEvent (const UPackage *InOldPackage, const UPackage *InNewPackage, TMap< UObject *, UObject * > InRepointedObjects) | |
| UE_FORCEINLINE_HINT const UPackage * | GetOldPackage () const |
| UE_FORCEINLINE_HINT const UPackage * | GetNewPackage () const |
| UE_FORCEINLINE_HINT const TMap< UObject *, UObject * > & | GetRepointedObjects () const |
| template<typename InObjectType , typename OutObjectType > | |
| bool | GetRepointedObject (InObjectType *InObject, OutObjectType *&OutRepointedObject) const |
| template<typename ObjectType > | |
| bool | RepointObject (ObjectType *&Object) const |
| UE_FORCEINLINE_HINT const TArray< TWeakObjectPtr< UObject > > & | GetObjectReferencers () const |
| UE_FORCEINLINE_HINT void | AddObjectReferencer (UObject *InObject) |
| void | AddReferencedObjects (FReferenceCollector &Collector) |
Delegate payload for FOnPackageReloaded
|
inline |
|
inline |
Add a referencing object for any of the objects that were replaced by the package reload.
|
inline |
|
inline |
Get the new package pointer (the package that replaced the original one).
|
inline |
Get the set of objects that were referencing any of the objects that were replaced by the package reload.
|
inline |
Get the old package pointer (the original package that was replaced).
|
inline |
Given an object pointer, check to see if it needs to be repointed to an object in the new package, and populate OutRepointedObject if needed.
|
inline |
Get the raw map of repointed objects.
|
inline |
Given an object pointer, check to see if it needs to be repointed to an object in the new package, and update it if needed.