PacketSendEvent

The event for packets send from the client to the server, cancel this to prevent the packet from being send.

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