init commit
This commit is contained in:
14
netcodedocs/ptype-psub-defs.md
Normal file
14
netcodedocs/ptype-psub-defs.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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)
|
||||
Reference in New Issue
Block a user