UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnrealNames.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreTypes.h"
6
7struct FNameEntryId;
8
9//
10// Macros.
11//
12
13// Define a message as an enumeration.
14#define REGISTER_NAME(num,name) name = num,
15enum class EName : uint32
16{
17 // Include all the hard-coded names
18 #include "UnrealNames.inl"
19 // Special constant for the last hard-coded name index
21};
22#undef REGISTER_NAME
23// Define aliases for the old-style EName enum syntax
24#define REGISTER_NAME(num,name) inline constexpr EName NAME_##name = EName::name;
25#include "UnrealNames.inl"
26#undef REGISTER_NAME
27
29
38#define MAX_NETWORKED_HARDCODED_NAME 410
39
40UE_DEPRECATED(5.0, "This function is deprecated, please use ShouldReplicateAsInteger(EName Ename, const class FName& Name) instead.")
45
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
FPlatformTypes::TCHAR TCHAR
Either ANSICHAR or WIDECHAR, depending on whether the platform supports wide characters or the requir...
Definition Platform.h:1135
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
CORE_API const TCHAR * LexToString(EName Ename)
Definition UnrealNames.cpp:120
#define MAX_NETWORKED_HARDCODED_NAME
Definition UnrealNames.h:38
bool ShouldReplicateAsInteger(EName Ename)
Definition UnrealNames.h:41
EName
Definition UnrealNames.h:16
@ MaxHardcodedNameIndex
uint32_t uint32
Definition binka_ue_file_header.h:6
Definition NameTypes.h:617
Definition NameTypes.h:69