SetObjectHandleReferenceResolvedCallback

Installs a new callback for notifications that an object has been resolved from an object handle or object reference.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/ObjectHandle.h

Include

#include "UObject/ObjectHandle.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/ObjectHandle.cpp

Syntax

ObjectHandleReferenceResolvedFunction * SetObjectHandleReferenceResolvedCallback
(
    ObjectHandleReferenceResolvedFunction * Function
)

Remarks

Installs a new callback for notifications that an object has been resolved from an object handle or object reference.

Returns

The previous object resolved callback (or nullptr). The caller is expected to store this and call in their own object resolved callback.UE_NODISCARD

Parameters

Parameter

Description

Function

The new object resolved callback to install.