ANUTActor::ExecuteOnServer

Executes the function specified in the delegate, on the server (used within unit tests)

Windows
MacOS
Linux

References

Module

NetcodeUnitTest

Header

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

Include

#include "NUTActor.h"

Source

/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/NUTActor.cpp

Syntax

void ExecuteOnServer
(
    UObject * InTargetObj,
    FString InTargetFunc
)

Remarks

Executes the function specified in the delegate, on the server (used within unit tests)

Parameters

Parameter

Description

InTargetObj

The object the target function is in (automatically resolve to the class default object)

InTargetFunc

The function to 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