Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UClientUnitTest > API/Plugins/NetcodeUnitTest/UClientUnitTest/SendUnitRPCChecked
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include | #include "ClientUnitTest.h" |
bool SendUnitRPCChecked
&40;
FString RPCName
&41;
Remarks
As above, except executes a static UFunction in the unit test (must be prefixed with UnitTestServer_), on the unit test server, allowing unit tests to define and contain their own 'pseudo'-RPC's.
Functions that you want to call, must match this function template:
static void UnitTestServer_Func(ANUTActor* InNUTActor); Whether or not the pseudo-RPC was sent successfully
Parameters
Name | Description |
---|---|
RPCName | The name of the pseudo-RPC, which should be executed |