C# Class UnityEngine.Networking.NetworkConnection.PacketStat

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

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
bytes int
count int
msgType short

Public Methods

Method Description
PacketStat ( ) : System
PacketStat ( NetworkConnection s ) : System
ToString ( ) : string

Method Details

PacketStat() public method

public PacketStat ( ) : System
return System

PacketStat() public method

public PacketStat ( NetworkConnection s ) : System
s NetworkConnection
return System

ToString() public method

public ToString ( ) : string
return string

Property Details

bytes public property

Total bytes of all messages of this type.

public int bytes
return int

count public property

The total number of messages of this type.

public int count
return int

msgType public property

The message type these stats are for.

public short msgType
return short