Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/UReplicationSystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Multicast an RPC targeting a object/subobject. | Iris/ReplicationSystem/ReplicationSystem.h | ||
| Unicast an RPC targeting a object/subobject. | Iris/ReplicationSystem/ReplicationSystem.h |
SendRPC(const UObject , const UObject , const UFunction , const void )
Description
Multicast an RPC targeting a object/subobject.
| Name | SendRPC |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/ReplicationSystem.cpp |
bool SendRPC
(
const UObject * RootObject,
const UObject * SubObject,
const UFunction * Function,
const void * Parameters
)
Whether the RPC was successfully queued for replication or not.
Parameters
| Name | Remarks |
|---|---|
| RootObject | A valid Owner/Actor. If no subobject is specified the function is called on the root object on the remote side. |
| SubObject | Optional subobject on whom the function is called on the remote side. |
| Function | The function to call. |
| Parameters | The function parameters. |
SendRPC(uint32, const UObject , const UObject , const UFunction , const void )
Description
Unicast an RPC targeting a object/subobject.
| Name | SendRPC |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/ReplicationSystem.h |
| Include Path | #include "Iris/ReplicationSystem/ReplicationSystem.h" |
| Source | /Engine/Source/Runtime/Experimental/Iris/Core/Private/Iris/ReplicationSystem/ReplicationSystem.cpp |
bool SendRPC
(
uint32 ConnectionId,
const UObject * RootObject,
const UObject * SubObject,
const UFunction * Function,
const void * Parameters
)
Whether the RPC was successfully queued for replication or not.
Parameters
| Name | Remarks |
|---|---|
| ConnectionId | A valid connection ID. Only this connection will receive the RPC. |
| RootObject | A valid Owner/Actor. If no subobject is specified the function is called on the root object on the remote side. |
| SubObject | Optional subobject on whom the function is called on the remote side. |
| Function | The function to call. |
| Parameters | The function parameters. |