663 B
663 B
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 for client
0x02 = Replication channel 0x01 = Echo (Server will return what you send) 0x04 = Recv auth validness 0xFF = kick
PSub for server
0x03 = Recv auth session 0x02 = Same as client