Class RpcTypeSerializationTests
Inheritance
RpcTypeSerializationTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class RpcTypeSerializationTests : NetcodeIntegrationTest
Constructors
RpcTypeSerializationTests()
Declaration
public RpcTypeSerializationTests()
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
m_EnableTimeTravel
Declaration
protected override bool m_EnableTimeTravel { get; }
Property Value
Overrides
m_SetupIsACoroutine
Declaration
protected override bool m_SetupIsACoroutine { get; }
Property Value
Overrides
m_TearDownIsACoroutine
Declaration
protected override bool m_TearDownIsACoroutine { get; }
Property Value
Overrides
Methods
OnCreatePlayerPrefab()
Declaration
protected override void OnCreatePlayerPrefab()
Overrides
TestValueTypeArray<T>(T[], T[])
Declaration
public void TestValueTypeArray<T>(T[] firstTest, T[] secondTest) where T : unmanaged
Parameters
Type |
Name |
Description |
T[] |
firstTest |
|
T[] |
secondTest |
|
Type Parameters
TestValueTypeNativeArray<T>(NativeArray<T>, NativeArray<T>)
Declaration
public void TestValueTypeNativeArray<T>(NativeArray<T> firstTest, NativeArray<T> secondTest) where T : unmanaged
Parameters
Type Parameters
TestValueType<T>(T, T)
Declaration
public void TestValueType<T>(T firstTest, T secondTest) where T : unmanaged
Parameters
Type |
Name |
Description |
T |
firstTest |
|
T |
secondTest |
|
Type Parameters
WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[Test]
public void WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[Test]
public void WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[Test]
public void WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|