Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
UnrealNames.h File Reference
#include "CoreTypes.h"
#include "UnrealNames.inl"
+ Include dependency graph for UnrealNames.h:
+ This graph shows which files directly or indirectly include this file:

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

const TCHARLexToString (EName Ename)
 
bool ShouldReplicateAsInteger (EName Ename)
 
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()

Definition at line 38 of file UnrealNames.h.

◆ REGISTER_NAME [1/2]

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

Definition at line 14 of file UnrealNames.h.

◆ REGISTER_NAME [2/2]

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

Definition at line 14 of file UnrealNames.h.

Enumeration Type Documentation

◆ EName

enum class EName : uint32
strong
Enumerator
MaxHardcodedNameIndex 

Definition at line 15 of file UnrealNames.h.

Function Documentation

◆ LexToString()

const TCHAR * LexToString ( EName Ename)

◆ ShouldReplicateAsInteger() [1/2]

bool ShouldReplicateAsInteger ( EName Ename)
inline

Definition at line 41 of file UnrealNames.h.

◆ ShouldReplicateAsInteger() [2/2]

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