Navigation
API > API/Plugins > API/Plugins/NetcodeUnitTest > API/Plugins/NetcodeUnitTest/UClientUnitTest
References
| Module | NetcodeUnitTest |
| Header | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Classes/ClientUnitTest.h |
| Include | #include "ClientUnitTest.h" |
| Source | /Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/Source/NetcodeUnitTest/Private/ClientUnitTest.cpp |
static void GetNextServerPorts
&40;
int32 & OutServerPort,
int32 & OutBeaconPort,
bool bAdvance
&41;
Remarks
Determine the next unique server ports to use - incremented to a new unique number, internally
Parameters
| Name | Description |
|---|---|
| OutServerPort | Outputs the next server port |
| OutBeaconPort | Outputs the next beacon port |
| bAdvance | Whether to advance the internal unique counter, for ports (to e.g. get ports for unlaunched unit tests) |