Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Description
Associate data with a connection. Only a single piece of user data is supported per connection. The last call determines which data is associated with the connection.
| Name | SetConnectionUserData |
| 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 SetConnectionUserData
(
uint32 ConnectionId,
UObject * UserData
)
Parameters
| Name | Remarks |
|---|---|
| ConnectionId | A valid connection ID. |
| UserData | What data to associate with the connection. |