Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > UObject
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/CoreRedirects.h |
Include | #include "UObject/CoreRedirects.h" |
Syntax
struct FCoreRedirects
Remarks
A container for all of the registered core-level redirects
Constructors
No constructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddKnownMissing
(
ECoreRedirectFlags Type, |
Adds the given combination of (Type, ObjectName, Channel) as a missing name; IsKnownMissing queries will now find it |
![]() ![]() |
bool | AddRedirectList
(
TArrayView< const FCoreRedirect > Redirects, |
Adds an array of redirects to global list |
![]() ![]() |
void | ClearKnownMissing
(
ECoreRedirectFlags Type, |
|
![]() ![]() |
bool | FindPreviousNames
(
ECoreRedirectFlags Type, |
Returns list of names it may have been before |
![]() ![]() |
const TMap< FName, ECoreRedirectFlags > & | Gets map from config key -> Flags | |
![]() ![]() |
ECoreRedirectFlags | GetFlagsForTypeClass
(
UClass* TypeClass |
Goes from UClass Type to the type flag |
![]() ![]() |
ECoreRedirectFlags | GetFlagsForTypeName
(
FName PackageName, |
Goes from the containing package and name of the type to the type flag |
![]() ![]() |
bool | GetMatchingRedirects
(
ECoreRedirectFlags Type, |
Returns list of all core redirects that match requirements |
![]() ![]() |
FCoreRedirectObjectName | GetRedirectedName
(
ECoreRedirectFlags Type, |
Returns a redirected version of the object name. |
![]() ![]() |
const TMap< FString, FString > * | GetValueRedirects
(
ECoreRedirectFlags Type, |
Returns map of String->String value redirects for the object name, or nullptr if none found |
![]() ![]() |
void | Initialize () |
Run initialization steps that are needed before any data can be stored in FCoreRedirects. |
![]() ![]() |
bool | Returns true if this is in debug mode that slows loading and adds additional warnings | |
![]() ![]() |
bool | Returns true if this has ever been initialized | |
![]() ![]() |
bool | IsKnownMissing
(
ECoreRedirectFlags Type, |
Returns true if this name has been registered as explicitly missing |
![]() ![]() |
bool | ReadRedirectsFromIni
(
const FString& IniName |
Parse all redirects out of a given ini file |
![]() ![]() |
bool | RedirectNameAndValues
(
ECoreRedirectFlags Type, |
Performs both a name redirect and gets a value redirect struct if it exists. |
![]() ![]() |
bool | RemoveKnownMissing
(
ECoreRedirectFlags Type, |
Removes the given combination of (Type, ObjectName, Channel) as a missing name |
![]() ![]() |
bool | RemoveRedirectList
(
TArrayView< const FCoreRedirect > Redirects, |
Removes an array of redirects from global list |
![]() ![]() |
bool | RunTests () |
Runs set of redirector tests, returns false on failure |
![]() ![]() |
void | Validates all known redirects and warn if they seem to point to missing things | |
![]() ![]() |
void | ValidateRedirectList
(
TArrayView< const FCoreRedirect > Redirects, |
Validate a named list of redirects |
Constants
Name | Description |
---|---|
bInDebugMode | True if we are in debug mode that does extra validation |
bInitialized | Whether this has been initialized at least once |
bValidatedOnce | True if we have done our initial validation. |
ConfigKeyMap | Map from config name to flag |
KnownMissingLock | Lock to protect multithreaded access to *KnownMissing functions, which can be called from the async loading threads. |
RedirectTypeMap |