Class ReliableStageParameterExtensions
Extensions for ReliableUtility.Parameters.
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Syntax
public static class ReliableStageParameterExtensions
Methods
GetReliableStageParameters(ref NetworkSettings)
Gets the ReliableUtility.Parameters
Declaration
public static ReliableUtility.Parameters GetReliableStageParameters(this ref NetworkSettings settings)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to get parameters from. |
Returns
Type | Description |
---|---|
ReliableUtility.Parameters | Returns the ReliableUtility.Parameters values for the NetworkSettings |
WithReliableStageParameters(ref NetworkSettings, Int32)
Sets the ReliableUtility.Parameters values for the NetworkSettings
Declaration
public static ref NetworkSettings WithReliableStageParameters(this ref NetworkSettings settings, int windowSize = 32)
Parameters
Type | Name | Description |
---|---|---|
NetworkSettings | settings | NetworkSettings to modify. |
Int32 | windowSize | WindowSize |
Returns
Type | Description |
---|---|
NetworkSettings | Modified NetworkSettings. |