UClientUnitTest::SendUnitRPCChecked

As above, except allows 'UnitTestServer' RPC's to be located in an arbitrary class (e.g. if shared between unit tests), specified as the delegate parameter.

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h

Include

#include "ClientUnitTest.h"

Syntax

template<class TargetClass>
bool SendUnitRPCChecked
(
    FString RPCName
)

Remarks

As above, except allows 'UnitTestServer' RPC's to be located in an arbitrary class (e.g. if shared between unit tests), specified as the delegate parameter.

Returns

Whether or not the pseudo-RPC was sent successfully

Parameters

Parameter

Description

TargetClass

The class which the 'UnitTestServer' function resides in.

RPCName

The name of the pseudo-RPC, which should be executed

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss