跳转至

Packet Header

文档版本:r/21_u4
协议版本:748

Packet Header类型。该类型用于protocol.type.packet_header.description

结构



Packet Header




0

Packet Header




1

Packet ID



0->1






2

unsigned varint



1->2




字段

Packet Header
[packet_id]
Packet IDunsigned varint
基本类型。protocol.type.packet_header.packet_id.descriptionThe first 10 value bits are the packet 'id', the next 2 value bits are the Sender SubClientID, and the next 2 value bits are the Target SubClientID