docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate NetworkTransport.TransportEventDelegate

    Delegate for transport network events

    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public delegate void NetworkTransport.TransportEventDelegate(NetworkEvent eventType, ulong clientId, ArraySegment<byte> payload, float receiveTime)
    Parameters
    Type Name Description
    NetworkEvent eventType

    The type of network event that occurred

    ulong clientId

    The ID of the client associated with this event

    ArraySegment<byte> payload

    The data payload received with this event

    float receiveTime

    The time when this event was received

    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)