ChillerDragon / teeworlds-protocol

Documenting the teeworlds network protocol
8 stars 2 forks source link

Should we document id and header lengths in message page? #16

Closed ChillerDragon closed 1 year ago

ChillerDragon commented 1 year ago

https://github.com/ChillerDragon/teeworlds-protocol/pull/15#issuecomment-1500316743

messages starting from id 31 take two bytes for the msg field which might throw off one or the other hard coder and vital headers are 3 instead of 2 long.

Should the tables include these sizes or is that weird?

ChillerDragon commented 1 year ago

No its already mentioned in great detail here https://chillerdragon.github.io/teeworlds-protocol/07/packet_layout.html#message_with_header_and_payload