Skip to content
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

Switch from using u64 client id to wrapper ClientId type #103

Merged
merged 6 commits into from
Sep 4, 2023

Conversation

roboteng
Copy link
Contributor

fixes: #41

I had a rough time solving the merge conflicts from my last pull request, so I just forced my fork to upstream, that seems to have automatically closed my previous PR.

Changes

  • Added the ClientId type in renet/src/server.rs
  • renetcode should not be changed in this PR
  • renew now has a serde feature, which adds Serialization and Deserialization impls for ClientId when enabled.

I tried to take all the feedback from the previous PR, and apply it to this one

@lucaspoffo lucaspoffo merged commit fd24f58 into lucaspoffo:master Sep 4, 2023
@lucaspoffo
Copy link
Owner

Thanks! Did some adjustments to pass the CI and moved the type to the lib.rs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a dedicated type for client ID
2 participants