Packet send event

packetSend

This event gets called every time the client sends a packet to the server. The event's ID is packetSend.

cancel(): void

Cancels the packet from being send to the server.

getPacket(): ClientPacket

Gives the packet that is about to be send to the server.

Last updated