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

#include <NameTypes.h>

+ Collaboration diagram for FMemoryImageName:

Public Member Functions

 FMemoryImageName ()
 
 FMemoryImageName (EName Name)
 
FORCEINLINE FMemoryImageName (const FName &Name)
 
bool operator== (EName Name) const
 
FORCEINLINE bool IsNone () const
 
FString ToString () const
 

Public Attributes

friend FName
 

Private Attributes

FNameEntryId ComparisonIndex
 
uint32 Number = NAME_NO_NUMBER_INTERNAL
 

Friends

void Freeze::ApplyMemoryImageNamePatch (void *NameDst, const FMemoryImageName &Name, const FPlatformTypeLayoutParameters &LayoutParams)
 
void Freeze::IntrinsicWriteMemoryImage (FMemoryImageWriter &Writer, const FMemoryImageName &Object, const FTypeLayoutDesc &)
 
uint32 Freeze::IntrinsicUnfrozenCopy (const FMemoryUnfreezeContent &Context, const FMemoryImageName &Object, void *OutDst)
 
FORCEINLINE bool operator== (FMemoryImageName Lhs, FMemoryImageName Rhs)
 
FORCEINLINE uint32 GetTypeHash (FMemoryImageName Name)
 
FORCEINLINE bool operator!= (FMemoryImageName Lhs, FMemoryImageName Rhs)
 
FORCEINLINE bool operator== (FName Lhs, FMemoryImageName Rhs)
 

Detailed Description

Predictably sized structure for representing an FName in memory images while allowing the size to be smaller than FScriptName when case-preserving behavior is not required.

Definition at line 537 of file NameTypes.h.

Constructor & Destructor Documentation

◆ FMemoryImageName() [1/3]

FORCEINLINE FMemoryImageName::FMemoryImageName ( )

Definition at line 1459 of file NameTypes.h.

◆ FMemoryImageName() [2/3]

FORCEINLINE FMemoryImageName::FMemoryImageName ( EName Name)

Definition at line 1475 of file NameTypes.h.

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

◆ FMemoryImageName() [3/3]

FORCEINLINE FMemoryImageName::FMemoryImageName ( const FName & Name)

Definition at line 1607 of file NameTypes.h.

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

Member Function Documentation

◆ IsNone()

FORCEINLINE bool FMemoryImageName::IsNone ( ) const

Definition at line 1631 of file NameTypes.h.

+ Here is the call graph for this function:

◆ operator==()

bool FMemoryImageName::operator== ( EName Name) const
inline

Definition at line 549 of file NameTypes.h.

+ Here is the call graph for this function:

◆ ToString()

FString FMemoryImageName::ToString ( ) const

Friends And Related Symbol Documentation

◆ Freeze::ApplyMemoryImageNamePatch

◆ Freeze::IntrinsicUnfrozenCopy

◆ Freeze::IntrinsicWriteMemoryImage

◆ GetTypeHash

FORCEINLINE uint32 GetTypeHash ( FMemoryImageName Name)
friend

Definition at line 583 of file NameTypes.h.

◆ operator!=

FORCEINLINE bool operator!= ( FMemoryImageName Lhs,
FMemoryImageName Rhs )
friend

Definition at line 588 of file NameTypes.h.

◆ operator== [1/2]

Definition at line 579 of file NameTypes.h.

◆ operator== [2/2]

Member Data Documentation

◆ ComparisonIndex

FNameEntryId FMemoryImageName::ComparisonIndex
private

Encoded address of name entry (used to find String portion of the string/number pair used for comparison)

Definition at line 557 of file NameTypes.h.

◆ FName

friend FMemoryImageName::FName

Definition at line 539 of file NameTypes.h.

◆ Number

uint32 FMemoryImageName::Number = NAME_NO_NUMBER_INTERNAL
private

Number portion of the string/number pair (stored internally as 1 more than actual, so zero'd memory will be the default, no-instance case)

Definition at line 562 of file NameTypes.h.


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