Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/PackageReload.h |
| Include | #include "UObject/PackageReload.h" |
Syntax
class FPackageReloadedEvent
Remarks
Delegate payload for FOnPackageReloaded
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddObjectReferencer
(
UObject* InObject |
Add a referencing object for any of the objects that were replaced by the package reload. | |
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| const UPackage * | Get the new package pointer (the package that replaced the original one). | ||
| const TArray< TWeakObjectPtr< UObject > > & | Get the set of objects that were referencing any of the objects that were replaced by the package reload. | ||
| const UPackage * | Get the old package pointer (the original package that was replaced). | ||
| bool | GetRepointedObject
(
InObjectType* InObject, |
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. | |
| const TMap< UObject *, UObject * > & | Get the raw map of repointed objects. | ||
| bool | RepointObject
(
ObjectType*& Object |
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. |