docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NetworkConnection.PacketStat

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

    Inheritance
    object
    NetworkConnection.PacketStat
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Networking
    Assembly: com.unity.multiplayer-hlapi.Runtime.dll
    Syntax
    public class NetworkConnection.PacketStat

    Constructors

    PacketStat()

    Declaration
    public PacketStat()

    PacketStat(PacketStat)

    Declaration
    public PacketStat(NetworkConnection.PacketStat s)
    Parameters
    Type Name Description
    NetworkConnection.PacketStat s

    Fields

    bytes

    Total bytes of all messages of this type.

    Declaration
    public int bytes
    Field Value
    Type Description
    int

    count

    The total number of messages of this type.

    Declaration
    public int count
    Field Value
    Type Description
    int

    msgType

    The message type these stats are for.

    Declaration
    public short msgType
    Field Value
    Type Description
    short

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)