Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FTestWorlds
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObject * FindReplicatedObjectOnClient
(
UObject* ServerObject, |
Find the remote instance of a replicated object and ensures if it can't find it | Tests/NetTestHelpers.h | |
T * FindReplicatedObjectOnClient
(
UObject* ServerObject, |
Tests/NetTestHelpers.h |
FindReplicatedObjectOnClient(UObject *, uint32)
Description
Find the remote instance of a replicated object and ensures if it can't find it
| Name | FindReplicatedObjectOnClient |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Tests/NetTestHelpers.h |
| Include Path | #include "Tests/NetTestHelpers.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Tests/NetTestHelpers.cpp |
UObject * FindReplicatedObjectOnClient
(
UObject * ServerObject,
uint32 ClientIndex
) const
Return the remote (client) instance of the same object if it exists.
Parameters
| Name | Remarks |
|---|---|
| ServerObject | The server object that you want the remote version of. |
| ClientIndex | The client you want a remote instance of |
FindReplicatedObjectOnClient(UObject *, uint32)
| Name | FindReplicatedObjectOnClient |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Tests/NetTestHelpers.h |
| Include Path | #include "Tests/NetTestHelpers.h" |
template<typename T>
T * FindReplicatedObjectOnClient
(
UObject * ServerObject,
uint32 ClientIndex
) const