Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Description
Sets the owning connection of an object. This can determine which properties are replicated to which connections or affect filtering such that the object is only replicated to the owning connection.
| Name | SetOwningNetConnection |
| Type | function |
| Header File | /Engine/Source/Runtime/Net/Iris/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
| Source | /Engine/Source/Runtime/Net/Iris/Private/Iris/ReplicationSystem/ReplicationSystem.cpp |
void SetOwningNetConnection
(
FNetRefHandle Handle,
uint32 ConnectionId
)
Parameters
| Name | Remarks |
|---|---|
| Handle | A valid handle to an object. |
| ConnectionId | A valid connection ID to be set as the owner. |