Class RpcTypeSerializationTests
Inheritance
RpcTypeSerializationTests
Syntax
public class RpcTypeSerializationTests : NetcodeIntegrationTest
Constructors
RpcTypeSerializationTests()
Declaration
public RpcTypeSerializationTests()
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Overrides
Methods
OnCreatePlayerPrefab()
Declaration
protected override void OnCreatePlayerPrefab()
Overrides
TestValueType<T>(T, T)
Declaration
public IEnumerator TestValueType<T>(T firstTest, T secondTest)
where T : struct
Parameters
Type |
Name |
Description |
T |
firstTest |
|
T |
secondTest |
|
Returns
Type Parameters
TestValueTypeArray<T>(T[], T[])
Declaration
public IEnumerator TestValueTypeArray<T>(T[] firstTest, T[] secondTest)
where T : struct
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 : struct
Parameters
Returns
Type Parameters
WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns
WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns
WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type |
Name |
Description |
Type |
testType |
|
Returns