Enum ENetPacketPeer.PeerStatistic
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum ENetPacketPeer.PeerStatistic : long
Fields
LastRoundTripTime = 5
Last recorded round trip time for a reliable packet.
LastRoundTripTimeVariance = 6
Variance of the last trip time recorded.
PacketLoss = 0
Mean packet loss of reliable packets as a ratio with respect to the PacketLossScale.
PacketLossEpoch = 2
The time at which packet loss statistics were last updated (in milliseconds since the connection started). The interval for packet loss statistics updates is 10 seconds, and at least one packet must have been sent since the last statistics update.
PacketLossVariance = 1
Packet loss variance.
PacketThrottle = 7
The peer's current throttle status.
PacketThrottleAcceleration = 11
The throttle's acceleration factor. Higher values will make ENet adapt to fluctuating network conditions faster, causing unrelaible packets to be sent more often. The default value is
2
.PacketThrottleCounter = 9
Internal value used to increment the packet throttle counter. The value is hardcoded to
7
and cannot be changed. You probably want to look at PacketThrottleAcceleration instead.PacketThrottleDeceleration = 12
The throttle's deceleration factor. Higher values will make ENet adapt to fluctuating network conditions faster, causing unrelaible packets to be sent less often. The default value is
2
.PacketThrottleEpoch = 10
The time at which throttle statistics were last updated (in milliseconds since the connection started). The interval for throttle statistics updates is PacketThrottleInterval.
PacketThrottleInterval = 13
The interval over which the lowest mean round trip time should be measured for use by the throttle mechanism (in milliseconds). The default value is
5000
.PacketThrottleLimit = 8
The maximum number of unreliable packets that should not be dropped. This value is always greater than or equal to
1
. The initial value is equal to PacketThrottleScale.RoundTripTime = 3
Mean packet round trip time for reliable packets.
RoundTripTimeVariance = 4
Variance of the mean round trip time.