Class RpcTypeSerializationTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Assembly: solution.dll
Syntax
public class RpcTypeSerializationTests : NetcodeIntegrationTest
Constructors
RpcTypeSerializationTests()
Declaration
public RpcTypeSerializationTests()
Properties
NumberOfClients
Declaration
protected override int NumberOfClients { get; }
Property Value
Type | Description |
---|---|
int |
Overrides
Methods
OnCreatePlayerPrefab()
Override this to add components or adjustments to the default player prefab
m_Player
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 | 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 : unmanaged
Parameters
Type | Name | Description |
---|---|---|
Native |
firstTest | |
Native |
secondTest |
Returns
Type | Description |
---|---|
IEnumerator |
Type Parameters
Name | Description |
---|---|
T |
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 | Description |
---|---|
IEnumerator |
Type Parameters
Name | Description |
---|---|
T |
WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingANativeArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |
WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingAValueTypeOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |
WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type)
Declaration
[UnityTestAttribute]
public IEnumerator WhenSendingAnArrayOfValueTypesOverAnRpc_ValuesAreSerializedCorrectly(Type testType)
Parameters
Type | Name | Description |
---|---|---|
Type | testType |
Returns
Type | Description |
---|---|
IEnumerator |