SerenityJS
    Preparing search index...

    Interface NetworkPacketEvent<T>

    Represents a network packet event.

    interface NetworkPacketEvent<T extends DataPacket> {
        bound: NetworkBound;
        connection: Connection;
        packet: T;
    }

    Type Parameters

    • T extends DataPacket

    Hierarchy (View Summary)

    Index

    Properties

    The flow direction of the packet.

    connection: Connection

    The raknet connection that the packet is being sent from.

    packet: T

    The data packet instance.