Navigation
API > API/Runtime > API/Runtime/IrisCore
Flags controlling how the repsystem should deal with the object that will no longer be replicated.
| Name | EEndReplicationFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationBridgeTypes.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationBridgeTypes.h" |
Syntax
enum EEndReplicationFlags
{
None = 0U,
Destroy = 1U,
TearOff = Destroy << 1U,
Flush = TearOff << 1U,
DestroyNetHandle = Flush << 1U,
ClearNetPushId = DestroyNetHandle << 1U,
SkipPendingEndReplicationValidation = ClearNetPushId << 1U,
ProxyReuse = SkipPendingEndReplicationValidation << 1U,
AllowAsyncStopReplication = ProxyReuse << 1U,
}
Values
| Name | Remarks |
|---|---|
| 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. |
| ClearNetPushId | Clear net push ID to prevent this object and its subobjects from being marked as dirty in the networking system. |
| SkipPendingEndReplicationValidation | Skip bPendingEndReplication Validation, In some cases we want to allow detaching instance from replicated object on clients, such as when shutting down |
| ProxyReuse | An object is removed from a server but the client should keep it and maintain its internal data, expecting to receive object updates from another server later. |
| AllowAsyncStopReplication | If true, replication can be resumed effectively canceling the EndReplication by issuing a StartReplication before the StopReplication has been acknowledged by all clients. |