Module |
|
Header |
/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
Include |
#include "ClientUnitTest.h" |
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
Parameter |
Description |
---|---|
RPCName |
The name of the pseudo-RPC, which should be executed |