Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UMinimalClient
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool SendRPCChecked
(
UObject* Target, |
As above, except optimized for use with reflection | MinimalClient.h | |
bool SendRPCChecked
(
UObject* Target, |
Sends the specified RPC for the specified actor, and verifies that the RPC was sent (triggering RPCFailureDel if not) | MinimalClient.h |
SendRPCChecked(UObject *, FFuncReflection &)
Description
As above, except optimized for use with reflection
| Name | SendRPCChecked |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/MinimalClient.h |
| Include Path | #include "MinimalClient.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/MinimalClient.cpp |
bool SendRPCChecked
(
UObject * Target,
FFuncReflection & FuncRefl
)
Whether or not the RPC was sent successfully
Parameters
| Name | Remarks |
|---|---|
| Target | The Actor or ActorComponent which will send the RPC |
| FuncRefl | The function reflection instance, containing the function to be called and its assigned parameters. |
SendRPCChecked(UObject , const TCHAR , void *, int16, int16)
Description
Sends the specified RPC for the specified actor, and verifies that the RPC was sent (triggering RPCFailureDel if not)
| Name | SendRPCChecked |
| Type | function |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/MinimalClient.h |
| Include Path | #include "MinimalClient.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/MinimalClient.cpp |
bool SendRPCChecked
(
UObject * Target,
const TCHAR * FunctionName,
void * Parms,
int16 ParmsSize,
int16 ParmsSizeCorrection
)
Whether or not the RPC was sent successfully
Parameters
| Name | Remarks |
|---|---|
| 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. |