FReplaceNodeReferencesHelper

A helper class for Replacing Variable references in blueprints

Windows
MacOS
Linux

Inheritance Hierarchy

FTickableObjectBase

FTickableEditorObject

FReplaceNodeReferencesHelper

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/ReplaceNodeReferencesHelper.h

Include

#include "ReplaceNodeReferencesHelper.h"

Syntax

struct FReplaceNodeReferencesHelper : public FTickableEditorObject

Remarks

A helper class for Replacing Variable references in blueprints

Constructors

Name Description

Public function

FReplaceNodeReferencesHelper

(
    const FMemberReference& Source,
    const FMemberReference& Replacemen...,
    UBlueprint* InBlueprint
)

Constructs a ReplaceNodeReferencesHelper with the specified Source and Replacement variables

Public function

FReplaceNodeReferencesHelper

(
    FMemberReference&& Source,
    FMemberReference&& Replacement,
    UBlueprint* InBlueprint
)

Constructs a ReplaceNodeReference Helper with the specified Source and Replacement variables

Destructors

Functions

Name Description

Public function

void

 

BeginFindAndReplace

(
    const FSimpleDelegate& InOnComplet...
)

Triggers a FindInBlueprints cache of all blueprints, and submits a search query when it is done, this could take a while

Public function Const

const FMembe...

 

GetReplacement()

Returns the MemberReference for the Replacement

Public function Const

const FMembe...

 

GetSource()

Returns the MemberReference for the Source

Public function Const

bool

 

IsCompleted()

Returns true when the Find/Replace operation is finished

Public function

void

 

ReplaceReferences

Callback to replace references when Search is completed

Public function Static

void

 

ReplaceReferences

(
    FMemberReference& InReplacement,
    UBlueprint* InBlueprint,
    TArray< FImaginaryFiBDataSharedPtr ...
)

Helper function to replace references

Public function

const void

 

SetTransaction

(
    TSharedPtr< FScopedTransaction > In...
)

Keeps a scoped transaction alive while it does it's job (call with nullptr to reset if needed)

Overridden from FTickableObjectBase

Name Description

Public function Virtual Const

TStatId

 

GetStatId()

Return the stat id to use for this tickable

Public function Virtual Const

bool

 

IsTickable()

Virtual that can be overloaded by the inheriting class.

Public function Virtual

void

 

Tick

(
    float DeltaTime
)

Pure virtual that must be overloaded by the inheriting class.

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