Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest
Inheritance Hierarchy
- AActor
- FSelfRegisteringExec
- ANUTActor
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/NUTActor.h |
Include | #include "NUTActor.h" |
Syntax
UCLASS ()
class ANUTActor :
public AActor,
public FSelfRegisteringExec
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bMonitorForBeacon | Monitors for the creation of the beacon net driver, if -BeaconPort=x was specified on the commandline |
![]() |
double | LastAliveTime | The value of World.RealTimeSeconds as of the last time the client was marked as still alive |
![]() ![]() |
FExecuteOnServer | TempDelegate | A delegate property, used solely for converting strings to delegates |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
ANUTActor
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
void | Executes a console command on the server | |
![]() ![]() |
bool | Exec
(
UWorld* InWorld, |
FExec interface |
![]() |
void | ExecuteOnServer
(
UObject* InTargetObj, |
Executes the function specified in the delegate, on the server (used within unit tests) |
![]() ![]() ![]() |
UNetConnection * | ||
![]() |
void | HookNetDriver
(
UNetDriver* TargetNetDriver |
Hooks control channel messages for the specified net driver |
![]() ![]() ![]() |
void | NetFlush () |
Flushes all pending net connection packets |
![]() ![]() ![]() |
void | Received by all clients, emits a ping to log | |
![]() |
bool | NotifyControlMessage
(
UNetConnection* Connection, |
|
![]() ![]() |
void | NotifyPostLoadMap
(
UWorld* LoadedWorld |
|
![]() ![]() |
void | ||
![]() ![]() ![]() ![]() |
void | ServerAdmin
(
const FString& Command |
|
![]() ![]() ![]() ![]() |
void | Send a 'ping' RPC to all clients, to make them log a ping, which unit tests then use to verify the presence of a client process | |
![]() ![]() ![]() ![]() |
void | Notifies the server that the client is still around | |
![]() ![]() ![]() ![]() |
void | ServerExecute
(
const FString& InDelegate |
Takes a string representing a delegate (can't replicate delegate parameters), and executes that delegate on the server |
![]() ![]() ![]() ![]() |
void | ServerReceiveText
(
const FText& InText |
Test log function |
![]() ![]() |
void | Tick
(
float DeltaSeconds |
|
![]() ![]() ![]() |
void | UnitSeamlessTravel
(
FString Dest |
Triggers seamless travel |
![]() ![]() ![]() |
void | UnitTravel
(
FString Dest |
Triggers normal travel |
![]() |
void | UpdateOwner () |
Update the owner for the NUTActor, if the current owner is no longer valid |
![]() ![]() |
bool | ||
![]() ![]() ![]() |
void | Makes the game thread wait for the specified number of seconds |