ChillerDragon / teeworlds-protocol

Documenting the teeworlds network protocol
8 stars 2 forks source link

Mention sender and receiver code for every packet #2

Open ChillerDragon opened 1 year ago

ChillerDragon commented 1 year ago

At the beginning of every packet it should say something like this

Sender: SomeFunc() Receiver: SomeOther()

Maybe do a overall more unified documentation kinda approach with more fields like:

Length: 0-512 bytes Message: NETMSG_INPUT (20) Flags: vital Compressed: false Fields:

ChillerDragon commented 1 year ago

I switched to tables for the system messages and like it so far. Compressed is probably a trash field. Length and Flags (vital) seems like a very nice addition!