Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UObjectReplicationBridge
Description
Directly assigns Handle to object Instance and flags it as pre-registered in the ObjectReferenceCache. If supported by the object factory, clients receiving an object creation header with the pre-registered flag will look for existing instances registered by this function instead of creating a new instance and use the found instance for replication. Meant for use by the NetDriver's AssignNetIDToObject function.
| Name | PreRegisterObjectWithReferenceHandle |
| 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 |
void PreRegisterObjectWithReferenceHandle
(
const UObject * Instance,
FNetRefHandle Handle
)
See Also
-
UNetDriver::AssignNetIDToObject
-
UObjectReplicationBridge::PreRegisterNewObjectReferenceHandle