Interface PacketContext

Basic information about a packet received from a client.

Hierarchy

  • PacketContext

Properties

recipients: undefined | (Connection | "server")[]

The recipient of this specific message (not whole packet), if any.

reliable: boolean

Whether or not the packet was sent reliably.

sender: undefined | Connection

The client who sent the packet.

Generated using TypeDoc