Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationBridge
Description
Stop replicating the NetObject associated with the handle and mark the handle to be destroyed. If EEndReplication::TearOff is set the remote instance will be Torn-off rather than being destroyed on the receiving end, after the call, any state changes will not be replicated If EEndReplication::Flush is set all pending states will be delivered before the remote instance is destroyed, final state will be immediately copied so it is safe to remove the object after this call If EEndReplication::Destroy is set the remote instance will be destroyed, if this is set for a static instance and the EndReplicationParameters are set a permanent destruction info will be added Dynamic instances are always destroyed unless the TearOff flag is set.
| Name | StopReplicatingNetRefHandle |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationBridge.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationBridge.h" |
| Source | /Engine/Source/Runtime/Net/Iris/Private/Iris/ReplicationSystem/ReplicationBridge.cpp |
void StopReplicatingNetRefHandle
(
FNetRefHandle Handle,
EEndReplicationFlags EndReplicationFlags
)