Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UMinimalClient > API/Plugins/NetcodeUnitTest/UMinimalClient/SendRPCChecked
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/MinimalClient.h |
Include | #include "MinimalClient.h" |
Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/MinimalClient.cpp |
bool SendRPCChecked
&40;
UObject &42; Target,
const TCHAR &42; FunctionName,
void &42; Parms,
int16 ParmsSize,
int16 ParmsSizeCorrection
&41;
Remarks
Sends the specified RPC for the specified actor, and verifies that the RPC was sent (triggering RPCFailureDel if not) Whether or not the RPC was sent successfully
Parameters
Name | Description |
---|---|
Target | The Actor or ActorComponent which will send the RPC |
FunctionName | The name of the RPC |
Parms | The RPC parameters (same as would be specified to ProcessEvent) |
ParmsSize | The size of the RPC parameters, for verifying binary compatibility |
ParmsSizeCorrection | Some parameters are compressed to a different size. Verify Parms matches, and use this to correct. |