Navigation
Unreal Engine C++ API Reference > Plugins > NetcodeUnitTest > UnitTests > Engine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UUnitTestBase
- UUnitTest
- UProcessUnitTest
- UClientUnitTest
- UIPClient
- USteamClient
References
Module | NetcodeUnitTest |
Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/UnitTests/Engine/SteamClient.h |
Include | #include "UnitTests/Engine/SteamClient.h" |
Syntax
UCLASS&40;&41;
class USteamClient : public UIPClient
Remarks
Basic unit test for verifying simple client connection to a server, using the Steam net driver.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bPendingConnect | Whether or not ConnectMinimalClient is pending |
![]() |
FString | ServerSteamAddress | The server Steam address, parsed from the server log |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
USteamClient
(
const FObjectInitializer& ObjectInitializer |
USteamClient |
Overridden from UClientUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | ConnectMinimalClient
(
const TCHAR* InNetID |
Connects a minimal client, to the launched/launching server |
![]() ![]() |
FString | Puts together the commandline parameters the server should use, based upon the unit test settings | |
![]() ![]() |
void | NotifyAlterMinClient
(
FMinClientParms& Parms |
Gives subclass UnitTest's an opportunity to alter the MinimalClient setup parameters |
Overridden from UProcessUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | NotifyProcessLog
(
TWeakPtr< FUnitTestProcess > InProcess, |
Interface for process unit tests For implementation in subclasses, for helping to verify success/fail upon completion of unit tests NOTE: Not called again once VerificationState is set WARNING: Be careful when iterating InLogLines in multiple different for loops, if the sequence of detected logs is important |
Overridden from UUnitTest
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | Finishes initializing unit test settings, that rely upon the current unit test environment being loaded | |
![]() ![]() |
bool | ValidateUnitTestSettings
(
bool bCDOCheck |
Validate that the unit test settings/flags specified for this unit test, are compatible with one another, and that the engine settings/environment, support running the unit test. |