Skip to content

event onPacket (client-side)

This event is triggered when new packet arrives from the server.

Parameters

Packet packet
  • Packet packet: data sended over network from server side.