Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FNameEntryId Struct Reference

#include <NameTypes.h>

Public Member Functions

 FNameEntryId ()
 
 FNameEntryId (ENoInit)
 
bool IsNone () const
 
int32 CompareLexical (FNameEntryId Rhs) const
 
bool LexicalLess (FNameEntryId Rhs) const
 
int32 CompareFast (FNameEntryId Rhs) const
 
bool FastLess (FNameEntryId Rhs) const
 
bool operator< (FNameEntryId Rhs) const
 
bool operator> (FNameEntryId Rhs) const
 
bool operator== (FNameEntryId Rhs) const
 
bool operator!= (FNameEntryId Rhs) const
 
 operator bool () const
 
 UE_DEPRECATED (4.23, "NAME_INDEX is replaced by FNameEntryId, which is no longer a contiguous integer. " "Please use 'GetTypeHash(MyId)' instead of 'MyId' for hash functions. " "ToUnstableInt() can be used in other advanced cases.") operator int32() const
 
uint32 ToUnstableInt () const
 

Static Public Member Functions

static FNameEntryId FromUnstableInt (uint32 UnstableInt)
 
static FORCEINLINE FNameEntryId FromEName (EName Ename)
 

Static Private Member Functions

static FNameEntryId FromValidEName (EName Ename)
 
static FNameEntryId FromValidENamePostInit (EName Ename)
 

Private Attributes

uint32 Value
 

Friends

bool operator== (FNameEntryId Id, EName Ename)
 
bool operator== (EName Ename, FNameEntryId Id)
 
bool operator!= (EName Ename, FNameEntryId Id)
 
bool operator!= (FNameEntryId Id, EName Ename)
 
uint32 GetTypeHash (FNameEntryId Id)
 
FArchiveoperator<< (FArchive &Ar, FNameEntryId &InId)
 

Detailed Description

Opaque id to a deduplicated name

Definition at line 50 of file NameTypes.h.

Constructor & Destructor Documentation

◆ FNameEntryId() [1/2]

FNameEntryId::FNameEntryId ( )
inline

Definition at line 53 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ FNameEntryId() [2/2]

FNameEntryId::FNameEntryId ( ENoInit )
inline

Definition at line 54 of file NameTypes.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ CompareFast()

int32 FNameEntryId::CompareFast ( FNameEntryId Rhs) const
inline

Fast non-alphabetical order that is only stable during this process' lifetime

Definition at line 66 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ CompareLexical()

int32 FNameEntryId::CompareLexical ( FNameEntryId Rhs) const

Slow alphabetical order that is stable / deterministic over process runs

+ Here is the caller graph for this function:

◆ FastLess()

bool FNameEntryId::FastLess ( FNameEntryId Rhs) const
inline

Definition at line 67 of file NameTypes.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FromEName()

static FORCEINLINE FNameEntryId FNameEntryId::FromEName ( EName Ename)
inlinestatic

Definition at line 96 of file NameTypes.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ FromUnstableInt()

static FNameEntryId FNameEntryId::FromUnstableInt ( uint32 UnstableInt)
inlinestatic

Create from unstable int produced by this process

Definition at line 89 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ FromValidEName()

static FNameEntryId FNameEntryId::FromValidEName ( EName Ename)
inlinestaticprivate

Definition at line 109 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ FromValidENamePostInit()

static FNameEntryId FNameEntryId::FromValidENamePostInit ( EName Ename)
inlinestaticprivate

Definition at line 113 of file NameTypes.h.

◆ IsNone()

bool FNameEntryId::IsNone ( ) const
inline

Definition at line 56 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ LexicalLess()

bool FNameEntryId::LexicalLess ( FNameEntryId Rhs) const
inline

Definition at line 63 of file NameTypes.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator bool()

FNameEntryId::operator bool ( ) const
inlineexplicit

Definition at line 78 of file NameTypes.h.

◆ operator!=()

bool FNameEntryId::operator!= ( FNameEntryId Rhs) const
inline

Definition at line 75 of file NameTypes.h.

◆ operator<()

bool FNameEntryId::operator< ( FNameEntryId Rhs) const
inline

Fast non-alphabetical order that is only stable during this process' lifetime

Definition at line 70 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ operator==()

bool FNameEntryId::operator== ( FNameEntryId Rhs) const
inline

Definition at line 74 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ operator>()

bool FNameEntryId::operator> ( FNameEntryId Rhs) const
inline

Fast non-alphabetical order that is only stable during this process' lifetime

Definition at line 73 of file NameTypes.h.

◆ ToUnstableInt()

uint32 FNameEntryId::ToUnstableInt ( ) const
inline

Get process specific integer

Definition at line 86 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ UE_DEPRECATED()

FNameEntryId::UE_DEPRECATED ( 4. 23,
"NAME_INDEX is replaced by FNameEntryId,
which is no longer a contiguous integer. " "Please use 'GetTypeHash(MyId)' instead of 'MyId' for hash functions. " "ToUnstableInt() can be used in other advanced cases."  ) const

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( FNameEntryId Id)
friend

◆ operator!= [1/2]

bool operator!= ( EName Ename,
FNameEntryId Id )
friend

Definition at line 120 of file NameTypes.h.

◆ operator!= [2/2]

bool operator!= ( FNameEntryId Id,
EName Ename )
friend

Definition at line 121 of file NameTypes.h.

◆ operator<<

FArchive & operator<< ( FArchive & Ar,
FNameEntryId & InId )
friend

Serialize as process specific unstable int

◆ operator== [1/2]

bool operator== ( EName Ename,
FNameEntryId Id )
friend

Definition at line 119 of file NameTypes.h.

◆ operator== [2/2]

bool operator== ( FNameEntryId Id,
EName Ename )
friend

Definition at line 101 of file NameTypes.h.

Member Data Documentation

◆ Value

uint32 FNameEntryId::Value
private

Definition at line 107 of file NameTypes.h.


The documentation for this struct was generated from the following file: