UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FNetworkObjectKeyFuncs Struct Reference

#include <NetworkObjectList.h>

+ Inheritance diagram for FNetworkObjectKeyFuncs:

Static Public Member Functions

static KeyInitType GetSetKey (ElementInitType Element)
 
static bool Matches (KeyInitType A, KeyInitType B)
 
static uint32 GetKeyHash (KeyInitType Key)
 

Additional Inherited Members

- Public Types inherited from BaseKeyFuncs< TSharedPtr< FNetworkObjectInfo >, AActor *, false >
enum  
 
typedef AActorKeyType
 
typedef TCallTraits< AActor * >::ParamType KeyInitType
 
typedef TCallTraits< TSharedPtr< FNetworkObjectInfo > >::ParamType ElementInitType
 

Detailed Description

KeyFuncs to allow using the actor pointer as the comparison key in a set.

Member Function Documentation

◆ GetKeyHash()

static uint32 FNetworkObjectKeyFuncs::GetKeyHash ( KeyInitType  Key)
inlinestatic

Calculates a hash index for a key.

◆ GetSetKey()

static KeyInitType FNetworkObjectKeyFuncs::GetSetKey ( ElementInitType  Element)
inlinestatic
Returns
The key used to index the given element.

◆ Matches()

static bool FNetworkObjectKeyFuncs::Matches ( KeyInitType  A,
KeyInitType  B 
)
inlinestatic
Returns
True if the keys match.

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