Class TimeIntegrationTest
Tests the times of two clients connecting to a server using the SIPTransport (returns 50ms RTT but has no latency simulation)
Inheritance
TimeIntegrationTest
Assembly: solution.dll
Syntax
public class TimeIntegrationTest : NetcodeIntegrationTest
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
OnSetIntegrationTestMode()
Declaration
protected override NetcodeIntegrationTest.NetworkManagerInstatiationMode OnSetIntegrationTestMode()
Returns
Overrides
OnTearDown()
Note: For PerTest mode
this is called before ShutdownAndCleanUp.
Declaration
protected override IEnumerator OnTearDown()
Returns
Overrides
TestTimeIntegrationTest(int, uint)
Declaration
[UnityTestAttribute]
public IEnumerator TestTimeIntegrationTest(int targetFrameRate, uint tickRate)
Parameters
Type |
Name |
Description |
int |
targetFrameRate |
|
uint |
tickRate |
|
Returns