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