SetObjectHandleReadCallback

Installs a new callback for notifications that an object value has been read from a handle.

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

ObjectHandleReadFunction * SetObjectHandleReadCallback
(
    ObjectHandleReadFunction * Function
)

Remarks

Installs a new callback for notifications that an object value has been read from a handle.

Returns

The previous handle read callback (or nullptr). The caller is expected to store this and call in their own handle read callback.

Parameters

Parameter

Description

Function

The new handle read callback to install.