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 : INetworkParameter
Fields
maximumPayloadSize
Maximum payload size.
Declaration
public uint maximumPayloadSize
Field Value
Type | Description |
---|---|
uint |
receiveQueueCapacity
Receive queue capacity.
Declaration
public int receiveQueueCapacity
Field Value
Type | Description |
---|---|
int |
sendQueueCapacity
Send queue capacity.
Declaration
public int sendQueueCapacity
Field 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. |