Class RpcTypeSerializationTests
Inheritance
RpcTypeSerializationTests
Assembly: solution.dll
Syntax
public class RpcTypeSerializationTests : NetcodeIntegrationTest
Constructors
RpcTypeSerializationTests()
Declaration
public RpcTypeSerializationTests()
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
OnCreatePlayerPrefab()
Override this to add components or adjustments to the default player prefab
m_PlayerPrefab
Declaration
protected override void OnCreatePlayerPrefab()
Overrides
TestValueTypeArray<T>(T[], T[])
Declaration
public IEnumerator TestValueTypeArray<T>(T[] firstTest, T[] secondTest) where T : unmanaged
Parameters
Type |
Name |
Description |
T[] |
firstTest |
|
T[] |
secondTest |
|
Returns
Type Parameters
TestValueTypeNativeArray<T>(NativeArray<T>, NativeArray<T>)
Declaration
public IEnumerator TestValueTypeNativeArray<T>(NativeArray<T> firstTest, NativeArray<T> secondTest) where T : unmanaged
Parameters
Returns
Type Parameters
TestValueType<T>(T, T)
Declaration
public IEnumerator TestValueType<T>(T firstTest, T secondTest) where T : unmanaged
Parameters
Type |
Name |
Description |
T |
firstTest |
|
T |
secondTest |
|
Returns
Type Parameters
WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns
WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns
WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns