Table of Contents

Struct NetworkStats

Namespace
SampSharp.Entities.SAMP
Assembly
SampSharp.OpenMp.Entities.dll

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

stats NetworkStats

The open.mp stats this value represents.

Properties

AcknowlegementsPending

Gets the number of acknowledgements pending.

public int AcknowlegementsPending { get; }

Property Value

int

AcknowlegementsReceived

Gets the number of acknowledgements received.

public int AcknowlegementsReceived { get; }

Property Value

int

AcknowlegementsSent

Gets the number of acknowledgements sent.

public int AcknowlegementsSent { get; }

Property Value

int

BitsPerSecond

Gets the number of bits per second sent and received.

public double BitsPerSecond { get; }

Property Value

double

BpsReceived

Gets the number of bits per second received.

public double BpsReceived { get; }

Property Value

double

BpsSent

Gets the number of bits per second sent.

public double BpsSent { get; }

Property Value

double

BytesReceived

Gets the total number of bytes received.

public int BytesReceived { get; }

Property Value

int

ConnectMode

Gets the connection mode/status.

public ConnectionStatus ConnectMode { get; }

Property Value

ConnectionStatus

ConnectionElapsedTime

Gets the connection elapsed time.

public uint ConnectionElapsedTime { get; }

Property Value

uint

ConnectionStartTime

Gets the connection start time.

public int ConnectionStartTime { get; }

Property Value

int

DuplicateAcknowlegementsReceived

Gets the number of duplicate acknowledgements received.

public int DuplicateAcknowlegementsReceived { get; }

Property Value

int

IsActive

Gets a value indicating whether the connection is active.

public bool IsActive { get; }

Property Value

bool

MessageResends

Gets the number of message resends.

public int MessageResends { get; }

Property Value

int

MessageSendBuffer

Gets the number of messages in the send buffer.

public int MessageSendBuffer { get; }

Property Value

int

MessagesOnResendQueue

Gets the number of messages on the resend queue.

public int MessagesOnResendQueue { get; }

Property Value

int

MessagesReceived

Gets the number of messages received.

public int MessagesReceived { get; }

Property Value

int

MessagesReceivedPerSecond

Gets the number of messages received per second.

public int MessagesReceivedPerSecond { get; }

Property Value

int

MessagesSent

Gets the number of messages sent.

public int MessagesSent { get; }

Property Value

int

MessagesTotalBytesResent

Gets the total number of bytes of messages resent.

public int MessagesTotalBytesResent { get; }

Property Value

int

Packetloss

Gets the packet loss percentage.

public float Packetloss { get; }

Property Value

float

TotalBytesSent

Gets the total number of bytes sent.

public int TotalBytesSent { get; }

Property Value

int