API ReferenceSandbox.Network

ConnectionStatsclass

objectConnectionStats
Namespace
Sandbox.Network
Assembly
Sandbox.Engine
Declaration
public sealed struct Sandbox.Network.ConnectionStats

Properties7

Showing 7 properties

public float Sandbox.Network.ConnectionStats.ConnectionQuality { get; set; }PUBLICGETSET

From 0 to 1 how good is our connection to this?

Returns:float

public float Sandbox.Network.ConnectionStats.InBytesPerSecond { get; set; }PUBLICGETSET

How many bytes per second we're receiving from this connection.

Returns:float

public float Sandbox.Network.ConnectionStats.InPacketsPerSecond { get; set; }PUBLICGETSET

How many packets per second we're receiving from this connection.

Returns:float

public float Sandbox.Network.ConnectionStats.OutBytesPerSecond { get; set; }PUBLICGETSET

How many bytes per second we're sending to this connection.

Returns:float

public float Sandbox.Network.ConnectionStats.OutPacketsPerSecond { get; set; }PUBLICGETSET

How many packets per second we're sending to this connection.

Returns:float

public int Sandbox.Network.ConnectionStats.Ping { get; set; }PUBLICGETSET

Current ping for this connection.

Returns:int

public int Sandbox.Network.ConnectionStats.SendRateBytesPerSecond { get; set; }PUBLICGETSET

Estimate rate that we believe we can send data to this connection.

Returns:int

On this page