Class NetworkConnection.PacketStat | Multiplayer HLAPI | 1.0.8
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
    Object
    NetworkConnection.PacketStat
    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
    Int32

    count

    The total number of messages of this type.

    Declaration
    public int count
    Field Value
    Type Description
    Int32

    msgType

    The message type these stats are for.

    Declaration
    public short msgType
    Field Value
    Type Description
    Int16

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    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