• Home
  • Tutorials
  • API Documentation
  • Asset Store
Show / Hide Table of Contents
  • SuperNet.Netcode.Compress
    • CompressorDeflate
    • CompressorLZF
    • ICompressor
  • SuperNet.Netcode.Crypto
    • CryptoAES
    • CryptoECDH
    • CryptoRandom
    • CryptoRSA
    • Curve25519
    • ICryptoAuthenticator
    • ICryptoEncryptor
    • ICryptoExchanger
    • ICryptoRandom
  • SuperNet.Netcode.Transport
    • ConnectionRequest
    • DisconnectReason
    • Host
    • HostConfig
    • HostEvents
    • HostStatistics
    • HostTimespan
    • HostTimestamp
    • IHostListener
    • IMessage
    • IMessageListener
    • IPeerListener
    • MessageEvents
    • MessageReceived
    • MessageSent
    • Peer
    • PeerConfig
    • PeerEvents
    • PeerStatistics
  • SuperNet.Netcode.Util
    • Allocator
    • ArrayPool<T>
    • CRC32
    • IPComparer
    • IPResolver
    • IWritable
    • ObjectPool<T>
    • Reader
    • Serializer
    • Writer
  • SuperNet.Unity.Components
    • INetworkAuthoritative
    • INetworkRegisterable
    • INetworkRollbackable
    • NetworkAnimation
    • NetworkAnimator
    • NetworkAuthority
    • NetworkPrefab
    • NetworkRegistrar
    • NetworkSpawner
    • NetworkSyncModeMethod
    • NetworkSyncModeVector2
    • NetworkSyncModeVector3
    • NetworkTransform
  • SuperNet.Unity.Core
    • NetworkComponent
    • NetworkHost
    • NetworkIdentity
    • NetworkIdentityExtensions
    • NetworkManager
  • SuperNet.Unity.Editor
    • NetworkAuthorityEditor
    • NetworkHostEditor
    • NetworkHostEditor.BandwithUnit
    • NetworkIdentityDrawer
    • NetworkManagerEditor
    • NetworkPrefabEditor
    • NetworkSpawnerEditor

Class PeerStatistics

Stores packet statistics for peers.

Inheritance
System.Object
PeerStatistics
Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public class PeerStatistics

Properties

MessageReceiveAcknowledge

Total number of received acknowledgements.

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

MessageReceiveBytes

Total number of bytes recieved in messages after decryption and decompression.

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

MessageReceiveDuplicated

Total number of received duplicated messages.

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

MessageReceiveLost

Total number of lost messages.

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

MessageReceivePing

Total number of received pings.

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

MessageReceiveReliable

Total number of received reliable messages.

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

MessageReceiveTotal

Total number of received messages.

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

MessageReceiveUnreliable

Total number of received unreliable messages.

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

MessageSendAcknowledge

Total number of sent acknowledgements.

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

MessageSendBytes

Total number of sent bytes in messages before compression and encryption.

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

MessageSendDuplicated

Total number of sent duplicated messages.

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

MessageSendPing

Total number of sent pings.

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

MessageSendReliable

Total number of sent reliable messages.

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

MessageSendTotal

Total number of sent messages.

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

MessageSendUnreliable

Total number of sent unreliable messages.

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

PacketReceiveBytes

Total number of bytes received.

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

PacketReceiveCount

Total number of packets received.

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

PacketReceiveTicks

Host ticks at the moment of the last receive operation.

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

PacketSendBytes

Total number of bytes sent.

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

PacketSendCount

Total number of sent packets.

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

PacketSendTicks

Host ticks at the moment of the last send operation.

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

Methods

Reset()

Reset all statistics to zero.

Declaration
public void Reset()
Back to top Generated by DocFX