UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UnrealNames.h File Reference
#include "CoreTypes.h"
#include "UnrealNames.inl"

Go to the source code of this file.

Macros

#define REGISTER_NAME(num, name)   name = num,
 
#define REGISTER_NAME(num, name)   inline constexpr EName NAME_##name = EName::name;
 
#define MAX_NETWORKED_HARDCODED_NAME   410
 

Enumerations

enum class  EName : uint32 { MaxHardcodedNameIndex }
 

Functions

CORE_API const TCHARLexToString (EName Ename)
 
bool ShouldReplicateAsInteger (EName Ename)
 
CORE_API bool ShouldReplicateAsInteger (EName Ename, const class FName &Name)
 

Macro Definition Documentation

◆ MAX_NETWORKED_HARDCODED_NAME

#define MAX_NETWORKED_HARDCODED_NAME   410

Index of highest hardcoded name to be replicated by index by the networking code

Warning
: changing this number or making any change to the list of hardcoded names with index less than this value breaks network compatibility, which by default checks for the same changelist
Note
: names with a greater value than this can still be replicated, but they are sent as strings instead of an efficient index
See also
ShouldReplicateENameAsInteger()

◆ REGISTER_NAME [1/2]

#define REGISTER_NAME (   num,
  name 
)    name = num,

◆ REGISTER_NAME [2/2]

#define REGISTER_NAME (   num,
  name 
)    inline constexpr EName NAME_##name = EName::name;

Enumeration Type Documentation

◆ EName

enum class EName : uint32
strong
Enumerator
MaxHardcodedNameIndex 

Function Documentation

◆ LexToString()

CORE_API const TCHAR * LexToString ( EName  Ename)

◆ ShouldReplicateAsInteger() [1/2]

bool ShouldReplicateAsInteger ( EName  Ename)
inline

◆ ShouldReplicateAsInteger() [2/2]

CORE_API bool ShouldReplicateAsInteger ( EName  Ename,
const class FName Name 
)