Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest
Stores globals/static-variables for NetcodeUnitTest - for compatibility with hot reload
| Name | UNUTGlobals |
| Type | class |
| Header File | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/NUTGlobals.h |
| Include Path | #include "NUTGlobals.h" |
Syntax
UCLASS ()
class UNUTGlobals : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNUTGlobals
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNUTGlobals
(
const FObjectInitializer& ObjectInitializer |
UNUTGlobals | NUTGlobals.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DumpRPCMatches | TArray< FString > | For the '-DumpRPCs' commandline parameter - limits DumpRPCs to RPC's (partially) matching the specified names | NUTGlobals.h | |
| EventWatcher | TObjectPtr< UNetConnection > | For NUTActor - the UNetConnection that 'watch' events will be sent to | NUTGlobals.h | |
| ServerPortOffset | int32 | For ClientUnitTest - the (+10) incremented port number, for each server instance | NUTGlobals.h | |
| UnitTestModules | TArray< FString > | List of modules recognized as containing unit tests, plus implementing FNUTModuleInterface for hot reload | NUTGlobals.h | |
| UnitTestNetDriverCount | int32 | For MinimalClient - counter for the number of unit test net drivers created | NUTGlobals.h | |
| UnloadedModules | TArray< FString > | List of unit test modules that have been unloaded, prior to reloading for Hot Reload | NUTGlobals.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UNUTGlobals & Get() |
Singleton | NUTGlobals.h |