mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
Update API.md (#883)
This commit is contained in:
parent
0d426ef83a
commit
3c63cd17ba
1 changed files with 1 additions and 2 deletions
|
@ -165,8 +165,7 @@ The latency of the client, in ms. Updated at each keep alive.
|
||||||
|
|
||||||
### `packet` event
|
### `packet` event
|
||||||
|
|
||||||
Called with every packet parsed. Takes three params, the JSON data we parsed,
|
Called with every packet parsed. Takes four paramaters, the JSON data we parsed, the packet metadata (name, state), the buffer (raw data) and the full buffer (includes surplus data and may include the data of following packets on versions below 1.8)
|
||||||
, the packet metadata (name, state) and the initial buffer
|
|
||||||
|
|
||||||
### `raw` event
|
### `raw` event
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue