Struct NetworkStats
Represents the network statistics of a player.
public readonly struct NetworkStats
- Inherited Members
Constructors
NetworkStats(NetworkStats)
Represents the network statistics of a player.
public NetworkStats(NetworkStats stats)
Parameters
statsNetworkStatsThe open.mp stats this value represents.
Properties
AcknowlegementsPending
Gets the number of acknowledgements pending.
public int AcknowlegementsPending { get; }
Property Value
AcknowlegementsReceived
Gets the number of acknowledgements received.
public int AcknowlegementsReceived { get; }
Property Value
AcknowlegementsSent
Gets the number of acknowledgements sent.
public int AcknowlegementsSent { get; }
Property Value
BitsPerSecond
Gets the number of bits per second sent and received.
public double BitsPerSecond { get; }
Property Value
BpsReceived
Gets the number of bits per second received.
public double BpsReceived { get; }
Property Value
BpsSent
Gets the number of bits per second sent.
public double BpsSent { get; }
Property Value
BytesReceived
Gets the total number of bytes received.
public int BytesReceived { get; }
Property Value
ConnectMode
Gets the connection mode/status.
public ConnectionStatus ConnectMode { get; }
Property Value
ConnectionElapsedTime
Gets the connection elapsed time.
public uint ConnectionElapsedTime { get; }
Property Value
ConnectionStartTime
Gets the connection start time.
public int ConnectionStartTime { get; }
Property Value
DuplicateAcknowlegementsReceived
Gets the number of duplicate acknowledgements received.
public int DuplicateAcknowlegementsReceived { get; }
Property Value
IsActive
Gets a value indicating whether the connection is active.
public bool IsActive { get; }
Property Value
MessageResends
Gets the number of message resends.
public int MessageResends { get; }
Property Value
MessageSendBuffer
Gets the number of messages in the send buffer.
public int MessageSendBuffer { get; }
Property Value
MessagesOnResendQueue
Gets the number of messages on the resend queue.
public int MessagesOnResendQueue { get; }
Property Value
MessagesReceived
Gets the number of messages received.
public int MessagesReceived { get; }
Property Value
MessagesReceivedPerSecond
Gets the number of messages received per second.
public int MessagesReceivedPerSecond { get; }
Property Value
MessagesSent
Gets the number of messages sent.
public int MessagesSent { get; }
Property Value
MessagesTotalBytesResent
Gets the total number of bytes of messages resent.
public int MessagesTotalBytesResent { get; }
Property Value
Packetloss
Gets the packet loss percentage.
public float Packetloss { get; }
Property Value
TotalBytesSent
Gets the total number of bytes sent.
public int TotalBytesSent { get; }