Struct ReliableUtility.Statistics
Statistics tracked internally by the reliable pipeline stage.
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: Unity.Networking.Transport.dll
Syntax
public struct ReliableUtility.Statistics
Fields
AcksReceived
Number of acknowledgements received by the pipeline stage.
Declaration
public int AcksReceived
Field Value
| Type | Description |
|---|---|
| int | Number of ACK packets. |
AcksSent
Number of acknowledgements sent by the pipeline stage.
Declaration
public int AcksSent
Field Value
| Type | Description |
|---|---|
| int | Number of ACK packets. |
PacketsDropped
Number of packets that were dropped in transit.
Declaration
public int PacketsDropped
Field Value
| Type | Description |
|---|---|
| int | Number of packets. |
PacketsDuplicated
Number of duplicated packets received by the pipeline stage.
Declaration
public int PacketsDuplicated
Field Value
| Type | Description |
|---|---|
| int | Number of packets. |
Remarks
Doesn't differentiate between real duplicates and resends.
PacketsOutOfOrder
Number of packets that arrived out of order.
Declaration
public int PacketsOutOfOrder
Field Value
| Type | Description |
|---|---|
| int | Number of packets. |
PacketsReceived
Number of data packets received by the pipeline stage.
Declaration
public int PacketsReceived
Field Value
| Type | Description |
|---|---|
| int | Number of data packets. |
PacketsResent
Number of packets resent by the pipeline stage.
Declaration
public int PacketsResent
Field Value
| Type | Description |
|---|---|
| int | Number of packets. |
PacketsSent
Number of data packets sent by the pipeline stage.
Declaration
public int PacketsSent
Field Value
| Type | Description |
|---|---|
| int | Number of data packets. |
PacketsStale
Number of stale packets received by the pipeline stage.
Declaration
public int PacketsStale
Field Value
| Type | Description |
|---|---|
| int | Number of packets. |
Operators
operator +(Statistics, Statistics)
Add two statistics structures together.
Declaration
public static ReliableUtility.Statistics operator +(ReliableUtility.Statistics left, ReliableUtility.Statistics right)
Parameters
| Type | Name | Description |
|---|---|---|
| ReliableUtility.Statistics | left | Left operand. |
| ReliableUtility.Statistics | right | Right operand. |
Returns
| Type | Description |
|---|---|
| ReliableUtility.Statistics | Sum of the two statistics structures. |