Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FDisplayNameEntryId Class Reference

#include <NameTypes.h>

+ Collaboration diagram for FDisplayNameEntryId:

Public Member Functions

 FDisplayNameEntryId ()
 
 FDisplayNameEntryId (FName Name)
 
FORCEINLINE FName ToName (uint32 Number) const
 
FNameEntryId ToDisplayId () const
 
void SetLoadedComparisonId (FNameEntryId ComparisonId)
 

Static Public Member Functions

static FDisplayNameEntryId FromComparisonId (FNameEntryId ComparisonId)
 

Private Member Functions

 FDisplayNameEntryId (FNameEntryId InId, FNameEntryId)
 
FORCEINLINE FNameEntryId GetDisplayId () const
 
FORCEINLINE FNameEntryId GetComparisonId () const
 

Private Attributes

FNameEntryId Id
 

Friends

bool operator== (FDisplayNameEntryId A, FDisplayNameEntryId B)
 
bool operator== (FNameEntryId A, FDisplayNameEntryId B)
 
bool operator== (FDisplayNameEntryId A, FNameEntryId B)
 
uint32 GetTypeHash (FDisplayNameEntryId InId)
 

Detailed Description

Serialization util that optimizes WITH_CASE_PRESERVING_NAME-loading by reducing comparison id lookups

Stores 32-bit display entry id with an unused bit to indicate if FName::GetComparisonIdFromDisplayId lookup is needed.

Note that only display entries should be saved to make output deterministic.

Definition at line 1878 of file NameTypes.h.

Constructor & Destructor Documentation

◆ FDisplayNameEntryId() [1/3]

FDisplayNameEntryId::FDisplayNameEntryId ( )
inline

Definition at line 1881 of file NameTypes.h.

+ Here is the call graph for this function:

◆ FDisplayNameEntryId() [2/3]

FDisplayNameEntryId::FDisplayNameEntryId ( FName Name)
inlineexplicit

Definition at line 1882 of file NameTypes.h.

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

◆ FDisplayNameEntryId() [3/3]

FDisplayNameEntryId::FDisplayNameEntryId ( FNameEntryId InId,
FNameEntryId  )
inlineprivate

Definition at line 1900 of file NameTypes.h.

+ Here is the caller graph for this function:

Member Function Documentation

◆ FromComparisonId()

static FDisplayNameEntryId FDisplayNameEntryId::FromComparisonId ( FNameEntryId ComparisonId)
static

◆ GetComparisonId()

FORCEINLINE FNameEntryId FDisplayNameEntryId::GetComparisonId ( ) const
inlineprivate

Definition at line 1902 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ GetDisplayId()

FORCEINLINE FNameEntryId FDisplayNameEntryId::GetDisplayId ( ) const
inlineprivate

Definition at line 1901 of file NameTypes.h.

+ Here is the caller graph for this function:

◆ SetLoadedComparisonId()

void FDisplayNameEntryId::SetLoadedComparisonId ( FNameEntryId ComparisonId)

◆ ToDisplayId()

FNameEntryId FDisplayNameEntryId::ToDisplayId ( ) const

◆ ToName()

FORCEINLINE FName FDisplayNameEntryId::ToName ( uint32 Number) const
inline

Definition at line 1883 of file NameTypes.h.

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( FDisplayNameEntryId InId)
friend

Definition at line 1907 of file NameTypes.h.

◆ operator== [1/3]

Definition at line 1903 of file NameTypes.h.

◆ operator== [2/3]

Definition at line 1906 of file NameTypes.h.

◆ operator== [3/3]

Definition at line 1905 of file NameTypes.h.

Member Data Documentation

◆ Id

FNameEntryId FDisplayNameEntryId::Id
private

Definition at line 1898 of file NameTypes.h.


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