Method WaitForClientsConnectedOrTimeOutWithTimeTravel
WaitForClientsConnectedOrTimeOutWithTimeTravel(NetworkManager[])
Validates that all remote clients (i.e. non-server) detect they are connected to the server and that the server reflects the appropriate number of clients have connected or it will time out. Uses time travel to simulate this for the given number of frames, simulating delta times at the application frame rate.
Declaration
protected bool WaitForClientsConnectedOrTimeOutWithTimeTravel(NetworkManager[] clientsToCheck)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkManager[] | clientsToCheck | An array of clients to be checked |
Returns
| Type | Description |
|---|---|
| bool |
WaitForClientsConnectedOrTimeOutWithTimeTravel()
Overloaded method that just passes in all clients to WaitForClientsConnectedOrTimeOut(NetworkManager[]) Uses time travel to simulate this for the given number of frames, simulating delta times at the application frame rate.
Declaration
protected bool WaitForClientsConnectedOrTimeOutWithTimeTravel()
Returns
| Type | Description |
|---|---|
| bool |