-
-
Notifications
You must be signed in to change notification settings - Fork 22k
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
Add method for getting packet flags from ENetPacketPeer #95216
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, see my suggestion about the doc, nice work 🚀
For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info. |
9d837a3
to
d36fa76
Compare
Thanks for the heads up. I've rebased all the commits onto the latest |
It seems good, yes! The final step for our PR workflow would be to squash the commits together. See this page for instructions. I can also do it myself before merging tomorrow. |
d36fa76
to
21c5a73
Compare
Thanks! And congrats for your first merged Godot contribution 🎉 |
Fixes proposal 10240: godotengine/godot-proposals#10240
This PR adds the
get_packet_flags
method toENetPacketPeer
which can be used to obtain the flags sent with the packet. In my experimentation, it appears that not all flags are replicated from peer to peer, but it's unclear which are and which aren't (the ENet documentation does not specify), so I opted not to include this info explicitly in Godot's documentation.This is my first PR, so let me know if I have missed anything.
Bugsquad edit: