Show / Hide Table of Contents

    Delegate ConnectionManager.NotifyPacketReceivedDelegate

    Event delegate for a packet receive

    Namespace: Engine.Networking
    Assembly: Engine.Networking.dll
    Syntax
    public delegate void NotifyPacketReceivedDelegate(NetworkConnection connection, int packetId, byte[] rawPacket);
    Parameters
    Type Name Description
    Unity.Networking.Transport.NetworkConnection connection

    The source of the packet

    System.Int32 packetId

    The packet id

    System.Byte[] rawPacket

    The packet data in byte array format

    Back to top Elavad Documentation