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

Implement Component for ClientId #140

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

sylv256
Copy link
Contributor

@sylv256 sylv256 commented Jan 3, 2024

This is especially useful for tracking players in a server.

@ActuallyHappening
Copy link

Yes I want this as well
I got around it by creating a new type called PlayerId, but implementing Component on ClientId is far better, since you could write type PlayerId = ClientId if you still wanted to retain the explicitness of a custom name

@lucaspoffo lucaspoffo merged commit 0aadfc8 into lucaspoffo:master Jan 5, 2024
3 checks passed
@lucaspoffo
Copy link
Owner

Thanks!

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.

3 participants