API ReferenceSandbox.Network
ConnectionStatsclass
object→ConnectionStats
Properties7
Showing 7 properties
public float Sandbox.Network.ConnectionStats.ConnectionQuality { get; set; }
From 0 to 1 how good is our connection to this?
Returns:
float—public float Sandbox.Network.ConnectionStats.InBytesPerSecond { get; set; }
How many bytes per second we're receiving from this connection.
Returns:
float—public float Sandbox.Network.ConnectionStats.InPacketsPerSecond { get; set; }
How many packets per second we're receiving from this connection.
Returns:
float—public float Sandbox.Network.ConnectionStats.OutBytesPerSecond { get; set; }
How many bytes per second we're sending to this connection.
Returns:
float—public float Sandbox.Network.ConnectionStats.OutPacketsPerSecond { get; set; }
How many packets per second we're sending to this connection.
Returns:
float—public int Sandbox.Network.ConnectionStats.Ping { get; set; }
Current ping for this connection.
Returns:
int—public int Sandbox.Network.ConnectionStats.SendRateBytesPerSecond { get; set; }
Estimate rate that we believe we can send data to this connection.
Returns:
int—No results match this filter.