Implementing prost::Name
for common Components.
#18341
Closed
RylanYancey
started this conversation in
Ideas
Replies: 1 comment
-
Closed because Bevy Reflect does this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to implement a protocol for synchronizing entity state. I would like to do this by registering Components as "sendable". However, I need a way to uniquely identify a components such that it can be recognized across machines.
Components wouldn't have to implement prost::Message, just prost::Name.
Then, instead of passing around the entire component name, I could pass around an XXH64 hash of the name, saving space and lookup time.
Beta Was this translation helpful? Give feedback.
All reactions