Class RpcTypeSerializationTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class RpcTypeSerializationTests : NetcodeIntegrationTest
Constructors
RpcTypeSerializationTests()
Declaration
public RpcTypeSerializationTests()
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Type | Description |
---|---|
Int32 |
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 | Description |
---|---|
IEnumerator |
Type Parameters
Name | Description |
---|---|
T |
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 | Description |
---|---|
IEnumerator |
Type Parameters
Name | Description |
---|---|
T |
TestValueTypeNativeArray<T>(NativeArray<T>, NativeArray<T>)
Declaration
public IEnumerator TestValueTypeNativeArray<T>(NativeArray<T> firstTest, NativeArray<T> secondTest)
where T : struct
Parameters
Type | Name | Description |
---|---|---|
NativeArray<T> | firstTest | |
NativeArray<T> | secondTest |
Returns
Type | Description |
---|---|
IEnumerator |
Type Parameters
Name | Description |
---|---|
T |
WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |
WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |
WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
public IEnumerator WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |