FCoreRedirect

A single redirection from an old name to a new name, parsed out of an ini file

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "UObject/CoreRedirects.h"

Syntax

struct FCoreRedirect

Remarks

A single redirection from an old name to a new name, parsed out of an ini file

Variables

Name Description

Public variable

FCoreRedirectOb...

 

NewName

Name to replace with

Public variable

FCoreRedirectOb...

 

OldName

Name of object to look for

Public variable

FCoreRedirectOb...

 

OverrideClassName

Change the class of this object when doing a redirect

Public variable

ECoreRedirectFl...

 

RedirectFlags

Flags of this redirect

Public variable

TMap< FString, ...

 

ValueChanges

Map of value changes, from old value to new value

Constructors

Name Description

Public function

FCoreRedirect

(
    const FCoreRedirect& Other
)

Construct from name strings, which may get parsed out

Public function

FCoreRedirect

(
    ECoreRedirectFlags InRedirectFlags,
    FString InOldName,
    FString InNewName
)

Construct from name strings, which may get parsed out

Public function

FCoreRedirect

(
    ECoreRedirectFlags InRedirectFlags,
    const FCoreRedirectObjectName& InO...,
    const FCoreRedirectObjectName& InN...
)

Construct parsed out object names

Functions

Name Description

Public function Const

FName

 

GetSearchKey()

Returns the name used as the key into the acceleration map

Public function Const

bool

 

HasValueChanges()

Returns true if this has value redirects

Public function Const

bool

 

IdenticalMatchRules

(
    const FCoreRedirect& Other
)

See if search criteria is identical

Public function Const

bool

 

IsSubstringMatch()

Returns true if this is a substring match

Public function Const

bool

 

Matches

(
    ECoreRedirectFlags InFlags,
    const FCoreRedirectObjectName& InN...
)

Returns true if the passed in name matches requirements

Public function

void

 

NormalizeNewName()

Normalizes NewName with data from OldName

Public function

const TCHAR ...

 

ParseValueChanges

(
    const TCHAR* Buffer
)

Parses a char buffer into the ValueChanges map

Public function Const

FCoreRedirec...

 

RedirectName

(
    const FCoreRedirectObjectName& Old...
)

Convert to new names based on mapping

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