engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
FCoreRedirectObjectName结构体 参考

An object path extracted into component names for matching. 更多...

#include <CoreRedirects.h>

Public 成员函数

 FCoreRedirectObjectName ()
 Default to invalid names
 
 FCoreRedirectObjectName (const class UObject *Object)
 Construct from object in memory
 
 FCoreRedirectObjectName (const FCoreRedirectObjectName &Other)
 Copy constructor
 
 FCoreRedirectObjectName (const FString &InString)
 Construct from a path string, this handles full paths with packages, or partial paths without
 
 FCoreRedirectObjectName (FName InObjectName, FName InOuterName, FName InPackageName)
 Construct from FNames that are already expanded
 
FName GetSearchKey (ECoreRedirectFlags Type) const
 Returns the name used as the key into the acceleration map
 
bool HasValidCharacters () const
 Returns true if all names have valid characters
 
bool IsValid () const
 Returns true if this refers to an actual object
 
bool Matches (const FCoreRedirectObjectName &Other, bool bCheckSubstring=false) const
 Returns true if the passed in name matches requirements, will ignore names that are none
 
int32 MatchScore (const FCoreRedirectObjectName &Other) const
 Returns integer of degree of match. 更多...
 
bool operator== (const FCoreRedirectObjectName &Other) const
 Checks for exact equality
 
void Reset ()
 Sets back to invalid state
 
FString ToString () const
 Creates FString version
 

静态 Public 成员函数

static FString CombineNames (FName NewName, FName NewOuter, FName NewPackage)
 Turn it back into an FString
 
static bool ExpandNames (const FString &FullString, FName &OutName, FName &OutOuter, FName &OutPackage)
 Expand OldName/NewName as needed
 

Public 属性

FName ObjectName
 Raw name of object
 
FName OuterName
 String of outer chain, may be empty
 
FName PackageName
 Package this was in before, may be extracted out of OldName
 

详细描述

An object path extracted into component names for matching.

TODO merge with FSoftObjectPath?

成员函数说明

◆ MatchScore()

int32 FCoreRedirectObjectName::MatchScore ( const FCoreRedirectObjectName &  Other) const

Returns integer of degree of match.

0 if doesn't match at all, higher integer for better matches


该结构体的文档由以下文件生成: