14 lines
546 B
Markdown
14 lines
546 B
Markdown
|
|
# PType and PSub Definitions
|
||
|
|
|
||
|
|
A BO3 GameServer packet has a 2 byte header.
|
||
|
|
Byte 1 is PType (packet type), which is used to check whether its serverbound or clientbound, however nonstandard BO3 servers can have the PType above 0x01
|
||
|
|
Byte 2 is PSub (packet subtype), which is the actual packet name. Each ptype can have 256 different subtypes
|
||
|
|
|
||
|
|
## PType
|
||
|
|
0x00 = Clientbound (should never be sent by a client)
|
||
|
|
0x01 = Serverbound (should never be recieved by a client)
|
||
|
|
|
||
|
|
## PSub
|
||
|
|
|
||
|
|
0x02 = Replication channel
|
||
|
|
0x01 = Echo (Server will return what you send)
|