Enum ENetPacketPeer.PeerStatistic
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum ENetPacketPeer.PeerStatistic : long
Fields
LastRoundTripTime = 5Last recorded round trip time for a reliable packet.
LastRoundTripTimeVariance = 6Variance of the last trip time recorded.
PacketLoss = 0Mean packet loss of reliable packets as a ratio with respect to the PacketLossScale.
PacketLossEpoch = 2The 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 = 1Packet loss variance.
PacketThrottle = 7The peer's current throttle status.
PacketThrottleAcceleration = 11The 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 = 9Internal value used to increment the packet throttle counter. The value is hardcoded to
7and cannot be changed. You probably want to look at PacketThrottleAcceleration instead.PacketThrottleDeceleration = 12The 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 = 10The time at which throttle statistics were last updated (in milliseconds since the connection started). The interval for throttle statistics updates is PacketThrottleInterval.
PacketThrottleInterval = 13The 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 = 8The 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 = 3Mean packet round trip time for reliable packets.
RoundTripTimeVariance = 4Variance of the mean round trip time.