Navigation
API > API/Runtime > API/Runtime/NetCore
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.
| Name | FNetHandleManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Net/Core/Public/Net/Core/NetHandle/NetHandleManager.h |
| Include Path | #include "Net/Core/NetHandle/NetHandleManager.h" |
Syntax
class FNetHandleManager
Classes
| Name | Remarks |
|---|---|
| FPimpl |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| Instance | FPimpl * | Net/Core/NetHandle/NetHandleManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FNetHandleDestroyer | friend | Net/Core/NetHandle/NetHandleManager.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Deinit() |
Destroys the instance if it exists. | Net/Core/NetHandle/NetHandleManager.h | |
static void DestroyNetHandle
(
FNetHandle Handle |
Destroys a NetHandle and removes the association between it and the object such that GetObject(Handle) will return nullptr. | Net/Core/NetHandle/NetHandleManager.h | |
static FNetHandle GetNetHandle
(
const UObject* |
Returns the NetHandle for an object if it's present. Assumes Init() has been called. | Net/Core/NetHandle/NetHandleManager.h | |
static FNetHandle GetOrCreateNetHandle
(
const UObject* |
Returns an existing NetHandle for an object if it's present or creates one if it's not. | Net/Core/NetHandle/NetHandleManager.h | |
static void Init() |
Creates a new instance that is used by functions that need it. Checks that no instance exists. | Net/Core/NetHandle/NetHandleManager.h | |
static FNetHandle MakeNetHandleFromId
(
uint32 Id |
Returns a NetHandle given an Id that has previously been extracted from a valid NetHandle. | Net/Core/NetHandle/NetHandleManager.h |