Skip to content

PacketProtocol.md

Shirasawa edited this page Jan 6, 2022 · 14 revisions

PacketProtocol

一个包有两部分组成:

  1. 包ID (int8)
  2. 包内容

Serverbound

0 (导航栏读取)

Field Name Field Type Notes
类型 int8 类型如下表
路径 string 表示客户端当前要读取的路径

导航栏类型:

  1. 收藏
  2. 插件

Clientbound

0 (项目信息)

Field Name Field Type Notes
端序 int16 直接为 1 (short int)

Clone this wiki locally