-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
new packet format: dictionary instead of positional arguments #1942
Comments
Example of ugly packet formats which would benefit from this: r20252 (adding relative position to the existing position parameter to avoid adding it at the end of the packet, which has optional fields..), configure packets, map packets, etc... We can continue to support the old format, and convert to the new one - and maybe the same conversion function could be used by both the client and server to keep the code simple. |
using a more generic and flexible packet format
Started for Still need to:
|
New:
|
We can support both the old format and the new one for a while.
The new one will have the advantage of being easier to understand and more flexible so we can add new features, make some parts optional, without having to fill in positional arguments we may not have. (they may not be relevant or may not be useful)
The text was updated successfully, but these errors were encountered: