UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Net::FNetHandleManager Class Reference

#include <NetHandleManager.h>

Classes

class  FPimpl
 

Static Public Member Functions

static NETCORE_API FNetHandle GetNetHandle (const UObject *)
 
static NETCORE_API FNetHandle GetOrCreateNetHandle (const UObject *)
 
static NETCORE_API FNetHandle MakeNetHandleFromId (uint32 Id)
 

Static Protected Member Functions

static void Init ()
 
static void Deinit ()
 

Protected Attributes

friend FNetCoreModule
 

Detailed Description

Manages the association between a UObject and a FNetHandle, which can be used to uniquely identify a replicated object for the lifetime of the application.

Member Function Documentation

◆ Deinit()

void UE::Net::FNetHandleManager::Deinit ( )
staticprotected

Destroys the instance if it exists.

◆ GetNetHandle()

FNetHandle UE::Net::FNetHandleManager::GetNetHandle ( const UObject Object)
static

Returns the NetHandle for an object if it's present. Assumes Init() has been called.

◆ GetOrCreateNetHandle()

FNetHandle UE::Net::FNetHandleManager::GetOrCreateNetHandle ( const UObject Object)
static

Returns an existing NetHandle for an object if it's present or creates one if it's not. Assumes Init() has been called.

◆ Init()

void UE::Net::FNetHandleManager::Init ( )
staticprotected

Creates a new instance that is used by functions that need it. Checks that no instance exists.

◆ MakeNetHandleFromId()

FNetHandle UE::Net::FNetHandleManager::MakeNetHandleFromId ( uint32  Id)
static

Returns a NetHandle given an Id that has previously been extracted from a valid NetHandle. The behavior is implementation defined if the Id was not extracted from a valid NetHandle.

Member Data Documentation

◆ FNetCoreModule

friend UE::Net::FNetHandleManager::FNetCoreModule
protected

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