Delegate payload for FOnPackageReloaded
更多...
#include <PackageReload.h>
|
|
FORCEINLINE void | AddObjectReferencer (UObject *InObject) |
| | Add a referencing object for any of the objects that were replaced by the package reload.
|
| |
|
FORCEINLINE const UPackage * | GetNewPackage () const |
| | Get the new package pointer (the package that replaced the original one).
|
| |
| FORCEINLINE const TArray< TWeakObjectPtr< UObject > > & | GetObjectReferencers () const |
| | Get the set of objects that were referencing any of the objects that were replaced by the package reload. 更多...
|
| |
|
FORCEINLINE const UPackage * | GetOldPackage () const |
| | Get the old package pointer (the original package that was replaced).
|
| |
| template<typename InObjectType , typename OutObjectType > |
| FORCEINLINE bool | GetRepointedObject (InObjectType *InObject, OutObjectType *&OutRepointedObject) const |
| | 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. 更多...
|
| |
|
FORCEINLINE const TMap< UObject *, UObject * > & | GetRepointedObjects () const |
| | Get the raw map of repointed objects.
|
| |
| template<typename ObjectType > |
| FORCEINLINE bool | RepointObject (ObjectType *&Object) const |
| | 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. 更多...
|
| |
Delegate payload for FOnPackageReloaded
◆ GetObjectReferencers()
Get the set of objects that were referencing any of the objects that were replaced by the package reload.
- 注解
- Beware that object referencers may become null as the result of other operations that happen during reloading (such as recompiling Blueprints).
◆ GetRepointedObject()
template<typename InObjectType , typename OutObjectType >
| FORCEINLINE bool FPackageReloadedEvent::GetRepointedObject |
( |
InObjectType * |
InObject, |
|
|
OutObjectType *& |
OutRepointedObject |
|
) |
| const |
|
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.
- 返回
- true if the object can be repointed, false otherwise.
◆ RepointObject()
template<typename ObjectType >
| FORCEINLINE bool FPackageReloadedEvent::RepointObject |
( |
ObjectType *& |
Object | ) |
const |
|
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.
- 返回
- true if the object was repointed, false otherwise.
该类的文档由以下文件生成: