Show / Hide Table of Contents

Class NetStatistics

Inheritance
System.Object
NetStatistics
Namespace: LiteNetLib
Assembly: LiteNetLib.dll
Syntax
public sealed class NetStatistics

Properties

BytesReceived

Declaration
public long BytesReceived { get; }
Property Value
Type Description
System.Int64

BytesSent

Declaration
public long BytesSent { get; }
Property Value
Type Description
System.Int64

PacketLoss

Declaration
public long PacketLoss { get; }
Property Value
Type Description
System.Int64

PacketLossPercent

Declaration
public long PacketLossPercent { get; }
Property Value
Type Description
System.Int64

PacketsReceived

Declaration
public long PacketsReceived { get; }
Property Value
Type Description
System.Int64

PacketsSent

Declaration
public long PacketsSent { get; }
Property Value
Type Description
System.Int64

Methods

AddBytesReceived(Int64)

Declaration
public void AddBytesReceived(long bytesReceived)
Parameters
Type Name Description
System.Int64 bytesReceived

AddBytesSent(Int64)

Declaration
public void AddBytesSent(long bytesSent)
Parameters
Type Name Description
System.Int64 bytesSent

AddPacketLoss(Int64)

Declaration
public void AddPacketLoss(long packetLoss)
Parameters
Type Name Description
System.Int64 packetLoss

IncrementPacketLoss()

Declaration
public void IncrementPacketLoss()

IncrementPacketsReceived()

Declaration
public void IncrementPacketsReceived()

IncrementPacketsSent()

Declaration
public void IncrementPacketsSent()

Reset()

Declaration
public void Reset()

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()
In This Article
Back to top Generated by DocFX