FPackageReloadedEvent

Delegate payload for FOnPackageReloaded

Windows
MacOS
Linux

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

Name Description

Public function

FPackageReloadedEvent

(
    const UPackage* InOldPackage,
    const UPackage* InNewPackage,
    TMap< UObject*, UObject* ...
)

Functions

Name Description

Public function

void

 

AddObjectReferencer

(
    UObject* InObject
)

Add a referencing object for any of the objects that were replaced by the package reload.

Public function

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Public function Const

const UPacka...

 

GetNewPackage()

Get the new package pointer (the package that replaced the original one).

Public function Const

const TArray...

 

GetObjectReferencers()

Get the set of objects that were referencing any of the objects that were replaced by the package reload.

Public function Const

const UPacka...

 

GetOldPackage()

Get the old package pointer (the original package that was replaced).

Public function Const

bool

 

GetRepointedObject

(
    InObjectType* InObject,
    OutObjectType*& OutRepointedOb...
)

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.

Public function Const

const TMap< ...

 

GetRepointedObjects()

Get the raw map of repointed objects.

Public function Const

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss