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

Add Reflect derives for components #84

Merged
merged 2 commits into from
Apr 26, 2022
Merged

Conversation

johanhelsing
Copy link
Contributor

This makes the types easier to work with when serializing save games or implementing network rollback.

With this patch, it works with https://github.com/johanhelsing/bevy_snap

To all components in components.rs, except LevelSet, which cannot be
derived due to the HashSet.
@Trouv
Copy link
Owner

Trouv commented Apr 26, 2022

Looks good to me. Thanks for the contribution

@Trouv Trouv merged commit 57961fb into Trouv:main Apr 26, 2022
@johanhelsing johanhelsing deleted the reflect branch November 27, 2022 07:41
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.

2 participants