Struct BaselibNetworkParameter
Obsolete. Set the receive/send queue capacities with NetworkConfigParameter instead.
Implements
Inherited Members
Namespace: Unity.Networking.Transport
Assembly: Unity.Networking.Transport.dll
Syntax
[Obsolete("To set receiveQueueCapacity and sendQueueCapacity parameters use NetworkConfigParameter", false)]
public struct BaselibNetworkParameter : INetworkParameterFields
maximumPayloadSize
Maximum payload size.
Declaration
public uint maximumPayloadSizeField Value
| Type | Description | 
|---|---|
| uint | 
receiveQueueCapacity
Receive queue capacity.
Declaration
public int receiveQueueCapacityField Value
| Type | Description | 
|---|---|
| int | 
sendQueueCapacity
Send queue capacity.
Declaration
public int sendQueueCapacityField Value
| Type | Description | 
|---|---|
| int | 
Methods
Validate()
Checks if the values for all fields are valid. This method will be automatically called when adding parameters to the NetworkSettings.
Declaration
public bool Validate()Returns
| Type | Description | 
|---|---|
| bool | True if the parameter is valid, false otherwise. |