Closed Shatur closed 1 year ago
2) Yeah, this is something that should be implemented. Now that we have multiple transport abstractions this is pretty clear. Adding a simple enum that returns Disconnected/Connected/Connecting should be enough, and the transport layer would need to update this whenever the client transport state changes.
1) This shouldn't be that hard to add
I working on https://github.com/lifescapegame/bevy_replicon. It currently coupled with Netcode. Users started to ask me to decouple it (https://github.com/lifescapegame/bevy_replicon/issues/61), but there are two problems:
I think this could be solved on Renet side:
RenetClient
. This will reduce duplicated conditions code inside transports.