UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ReplicationBridgeTypes.h File Reference

Go to the source code of this file.

Classes

struct  FReplicationBridgeCreateNetRefHandleResult
 

Enumerations

enum class  EEndReplicationFlags : uint32 {
  None = 0U , Destroy = 1U , TearOff = Destroy << 1U , Flush = TearOff << 1U ,
  DestroyNetHandle = Flush << 1U , ClearNetPushId = DestroyNetHandle << 1U , SkipPendingEndReplicationValidation = ClearNetPushId << 1U
}
 
enum class  EReplicationBridgeCreateNetRefHandleResultFlags : uint32 { None = 0U , AllowDestroyInstanceFromRemote = 1U << 0U , ShouldCallSubObjectCreatedFromReplication = AllowDestroyInstanceFromRemote << 1U , BindStaticObjectInReferenceCache = ShouldCallSubObjectCreatedFromReplication << 1U }
 
enum class  EReplicationBridgeDestroyInstanceReason : uint32 { DoNotDestroy , TearOff , Destroy }
 
enum class  EReplicationBridgeDestroyInstanceFlags : uint32 { None = 0U , AllowDestroyInstanceFromRemote = 1U << 0U }
 

Functions

 ENUM_CLASS_FLAGS (EEndReplicationFlags)
 
IRISCORE_API FString LexToString (EEndReplicationFlags EndReplicationFlags)
 
 ENUM_CLASS_FLAGS (EReplicationBridgeCreateNetRefHandleResultFlags)
 
IRISCORE_API const TCHARLexToString (EReplicationBridgeDestroyInstanceReason Reason)
 
 ENUM_CLASS_FLAGS (EReplicationBridgeDestroyInstanceFlags)
 
IRISCORE_API const TCHARLexToString (EReplicationBridgeDestroyInstanceFlags DestroyFlags)
 

Enumeration Type Documentation

◆ EEndReplicationFlags

Enumerator
None 
Destroy 

Destroy remote instance. Default for dynamic objects unless they have TearOff flag set.

TearOff 

Stop replication object without destroying instance on the remote end.

Flush 

Complete replication of pending state to all clients before ending replication.

DestroyNetHandle 

Destroy NetHandle if one is associated with the replicated object. This should only be done if the object should not be replicated by any other replication system.

ClearNetPushId 

Clear net push ID to prevent this object and its subobjects from being marked as dirty in the networking system. This should only be done if the object should not be replicated by any other replication system.

SkipPendingEndReplicationValidation 

Skip bPendingEndReplication Validation, In some cases we want to allow detaching instance from replicated object on clients, such as when shutting down

◆ EReplicationBridgeCreateNetRefHandleResultFlags

Enumerator
None 
AllowDestroyInstanceFromRemote 

Whether the instance may be destroyed due to the remote peer requesting the object to be destroyed. If not then the object itself must not be destroyed.

ShouldCallSubObjectCreatedFromReplication 

Set this flag if you created a subobject and want the RootObject to be notified of the subobject's creation.

BindStaticObjectInReferenceCache 

Bind the static netrefhandle to an object. Needed when the object wasn't found via ResolveObjectReference

◆ EReplicationBridgeDestroyInstanceFlags

Enumerator
None 
AllowDestroyInstanceFromRemote 

Whether the instance may be destroyed when instructed from the remote peer. This flag applies when the destroy reason is TearOff and torn off actors are to be destroyed as well as regular Destroy.

◆ EReplicationBridgeDestroyInstanceReason

Enumerator
DoNotDestroy 
TearOff 
Destroy 

Function Documentation

◆ ENUM_CLASS_FLAGS() [1/3]

ENUM_CLASS_FLAGS ( EEndReplicationFlags  )

◆ ENUM_CLASS_FLAGS() [2/3]

◆ ENUM_CLASS_FLAGS() [3/3]

◆ LexToString() [1/3]

IRISCORE_API FString LexToString ( EEndReplicationFlags  EndReplicationFlags)

◆ LexToString() [2/3]

IRISCORE_API const TCHAR * LexToString ( EReplicationBridgeDestroyInstanceFlags  DestroyFlags)

◆ LexToString() [3/3]