Navigation
API > API/Runtime > API/Runtime/Core
The full amount of data required to reconstruct a case-preserving name This will be the maximum size of an FName across all values of WITH_CASE_PRESERVING_NAME and UE_FNAME_OUTLINE_NUMBER and is used to store an FName in cases where the size of a name must be constant between build configurations (eg, blueprint bytecode) the layout is not guaranteed to be the same as FName even if the size is the same, so memory cannot be reinterpreted between the two. The layout here must be as expected by FScriptBytecodeWriter and XFER_NAME
| Name | FScriptName |
| Type | struct |
| Header File | /Engine/Source/Runtime/Core/Public/UObject/NameTypes.h |
| Include Path | #include "UObject/NameTypes.h" |
Syntax
struct FScriptName
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScriptName () |
UObject/NameTypes.h | ||
FScriptName
(
EName Ename |
UObject/NameTypes.h | ||
FScriptName
(
const FName& Name |
UObject/NameTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FName | friend | UObject/NameTypes.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ComparisonIndex | FNameEntryId | The internal structure of FScriptName is private in order to handle UE_FNAME_OUTLINE_NUMBER. | UObject/NameTypes.h | |
| DisplayIndex | FNameEntryId | Encoded address of name entry (used to find String portion of the string/number pair used for display) | UObject/NameTypes.h | |
| Number | uint32 | Number portion of the string/number pair (stored internally as 1 more than actual, so zero'd memory will be the default, no-instance case) | UObject/NameTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsNone() |
UObject/NameTypes.h | ||
FString ToString() |
UObject/NameTypes.h | ||
FUtf8String ToUtf8String() |
UObject/NameTypes.h | ||
bool UEOpEquals
(
EName Name |
UObject/NameTypes.h | ||
bool UEOpEquals
(
FScriptName Rhs |
UObject/NameTypes.h |