Class NetworkVariableTests
Inheritance
NetworkVariableTests
Syntax
public class NetworkVariableTests : NetcodeIntegrationTest
Constructors
NetworkVariableTests(Boolean)
Declaration
public NetworkVariableTests(bool ensureLengthSafety)
Parameters
Type |
Name |
Description |
Boolean |
ensureLengthSafety |
|
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
AllNetworkVariableTypes(Boolean)
Runs generalized tests on all predefined NetworkVariable types
Declaration
public IEnumerator AllNetworkVariableTypes(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
CanStartServerAndClients()
Declaration
protected override bool CanStartServerAndClients()
Returns
Overrides
ClientNetworkVariableTestSpawned(NetworkVariableTest)
Declaration
public static void ClientNetworkVariableTestSpawned(NetworkVariableTest networkVariableTest)
Parameters
ClientWritePermissionTest(Boolean)
Declaration
public IEnumerator ClientWritePermissionTest(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
FixedString32Test(Boolean)
Declaration
public IEnumerator FixedString32Test(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListAdd(Boolean)
Declaration
public IEnumerator NetworkListAdd(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListArrayOperator(Boolean)
Declaration
public IEnumerator NetworkListArrayOperator(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListClear(Boolean)
Declaration
public IEnumerator NetworkListClear(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListContains(Boolean)
Declaration
public IEnumerator NetworkListContains(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListIEnumerator(Boolean)
Declaration
public IEnumerator NetworkListIEnumerator(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListIndexOf(Boolean)
Declaration
public IEnumerator NetworkListIndexOf(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListInsert(Boolean)
Declaration
public IEnumerator NetworkListInsert(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListRemove(Boolean)
Declaration
public IEnumerator NetworkListRemove(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListRemoveAt(Boolean)
Declaration
public IEnumerator NetworkListRemoveAt(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
NetworkListValueUpdate(Boolean)
Declaration
public IEnumerator NetworkListValueUpdate(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
OnTearDown()
Declaration
protected override IEnumerator OnTearDown()
Returns
Overrides
TestINetworkSerializableCallsNetworkSerialize(Boolean)
Declaration
public IEnumerator TestINetworkSerializableCallsNetworkSerialize(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
TestNetworkVariableEnum(Boolean)
Declaration
public IEnumerator TestNetworkVariableEnum(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
TestNetworkVariableStruct(Boolean)
Declaration
public IEnumerator TestNetworkVariableStruct(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns
WhenListContainsManyLargeValues_OverflowExceptionIsNotThrown(Boolean)
Declaration
public IEnumerator WhenListContainsManyLargeValues_OverflowExceptionIsNotThrown(bool useHost)
Parameters
Type |
Name |
Description |
Boolean |
useHost |
|
Returns