Class NetworkConnection.PacketStat | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class NetworkConnection.PacketStat

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

    Inheritance
    System.Object
    NetworkConnection.PacketStat
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: UnityEngine.Networking
    Syntax
    public class PacketStat

    Constructors

    PacketStat()

    Declaration
    public PacketStat()

    PacketStat(NetworkConnection.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
    System.Int32

    count

    The total number of messages of this type.

    Declaration
    public int count
    Field Value
    Type Description
    System.Int32

    msgType

    The message type these stats are for.

    Declaration
    public short msgType
    Field Value
    Type Description
    System.Int16

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023