lucaspoffo / renet

Server/Client network library for multiplayer games with authentication and connection management made with Rust
Apache License 2.0
662 stars 67 forks source link

Provide `RenetClient::client_id` #153

Open Shatur opened 7 months ago

Shatur commented 7 months ago

Right now in order to access to ClientId on client I need to interact with NetcodeClientTransport::client_id. It would be convenient to being able to obtain CleintId in a transport-independent way. Could you provide something like RenetClient::client_id by also storing it inside RenetClient?