You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the NetMsg trait has a generic implementation for all types that implement Downcast + Send + Sync + Debug. Instead, it could be better to switch this to a derive where you have to opt-in to your type being a NetMsg.
This would allow us to have a derive macro which specifies the Reliability requirements. It would make more sense to specify those requirements next to the message definition, rather than when you register it.
The text was updated successfully, but these errors were encountered:
Right now the
NetMsg
trait has a generic implementation for all types that implementDowncast + Send + Sync + Debug
. Instead, it could be better to switch this to a derive where you have to opt-in to your type being aNetMsg
.This would allow us to have a derive macro which specifies the Reliability requirements. It would make more sense to specify those requirements next to the message definition, rather than when you register it.
The text was updated successfully, but these errors were encountered: