Struct ReliableUtility.SharedContext
Context shared by both the send and receive direction of the reliable pipeline. Can be obtained through the last parameter of GetPipelineBuffers(NetworkPipeline, NetworkPipelineStageId, NetworkConnection, out NativeArray<byte>, out NativeArray<byte>, out NativeArray<byte>).
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public struct ReliableUtility.SharedContext
Fields
| Name | Description |
|---|---|
| MaximumResendTime | Effective maximum resend time for unacknowledged reliable packets. Can be modified through SetMaximumResendTime(int, NetworkDriver, NetworkPipeline, NetworkConnection). |
| MinimumResendTime | Effective minimum resend time for unacknowledged reliable packets. Can be modified through SetMinimumResendTime(int, NetworkDriver, NetworkPipeline, NetworkConnection). |
| RttInfo | Timing information used to calculate resend timeouts. |
| WindowSize | Effective window size of the reliable pipeline. Can't be modified at runtime, but can be set at configuration time through NetworkSettings. |
| stats | Statistics for the reliable pipeline. |