FLinkerLoad::ResolveDependencyPlaceholder

Loads the import that the Placeholder was initially stubbed in for (NOTE: this could cause recursive behavior), and then replaces all known placeholder references with the proper class.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/LinkerLoad.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Blueprint/BlueprintSupport.cpp

Syntax

int32 ResolveDependencyPlaceholder
(
    class FLinkerPlaceholderBase * Placeholder,
    UClass * ReferencingClass,
    const FName ObjectPath
)

Remarks

Loads the import that the Placeholder was initially stubbed in for (NOTE: this could cause recursive behavior), and then replaces all known placeholder references with the proper class.

Returns

The number of placeholder references replaced (could be none, if this was recursively resolved).

Parameters

Parameter

Description

Placeholder

A ULinkerPlaceholderClass that was substituted in place of a deferred dependency.

ReferencingClass

The (Blueprint) class that was loading, while we deferred dependencies (now referencing the placeholder).

ObjectPath

Optional param that denotes the full object/package path for the object the placeholder is supposed to represent (used when the passed placeholder is not tied to an import in the linker's ImportMap).

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