Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UObjectReplicationBridge
Description
Creates a NetRefHandle explicitly for object Instance and flags it as pre-registered in the ObjectReferenceCache. If supported by an object factory, the pre-registered flag is meant to be serialized in a root object creation header and when a client receives a dynamic object header with this flag, it will look for an instance already registered by PreRegisterObjectWithReferenceHandle instead of creating a new instance of the object. Meant for use by the NetDriver's CreateNetIDForObject function.
| Name | PreRegisterNewObjectReferenceHandle |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ObjectReplicationBridge.h |
| Include Path | #include "Iris/ReplicationSystem/ObjectReplicationBridge.h" |
| Source | /Engine/Source/Runtime/Net/Iris/Private/Iris/ReplicationSystem/ObjectReplicationBridge.cpp |
UE::Net::FNetRefHandle PreRegisterNewObjectReferenceHandle
(
UObject * Instance
)
See Also
-
UNetDriver::CreateNetIDForObject
-
UObjectReplicationBridge::PreRegisterObjectWithReferenceHandle