C# Class UnityEngine.Networking.NetworkConnection.PacketStat

Structure used to track the number and size of packets of each packets type.

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
bytes int
count int
msgType short

Méthodes publiques

Méthode Description
PacketStat ( ) : System
PacketStat ( NetworkConnection s ) : System
ToString ( ) : string

Method Details

PacketStat() public méthode

public PacketStat ( ) : System
Résultat System

PacketStat() public méthode

public PacketStat ( NetworkConnection s ) : System
s NetworkConnection
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

bytes public_oe property

Total bytes of all messages of this type.

public int bytes
Résultat int

count public_oe property

The total number of messages of this type.

public int count
Résultat int

msgType public_oe property

The message type these stats are for.

public short msgType
Résultat short