PacketReceiveEvent

Gets called when a packet from the server is received. Cancel this to deny ever receiving the packet.

Extends

Properties

packet

readonly packet: Packet

Methods

cancel()

cancel(): void

Cancels the event.

Returns

void

Inherited from

CancellableEvent.cancel


isCancelled()

isCancelled(): boolean

Returns

boolean

If the event is cancelled or not.

Inherited from

CancellableEvent.isCancelled

Last updated